Skip to content

Commit

Permalink
fix: forcibly reload rooms when changed
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Nov 16, 2023
1 parent 822deac commit f10e2d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/broker/delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ class BrokerDelegate implements ProseClientDelegate {
sidebarChanged(): void {
logger.info("Sidebar changed");

// Force reload all rooms
Store.$room.markRoomsChanged();
Store.$room.load();
Store.$room.load(true);
}

contactChanged(_client: ProseClient, jid: JID): void {
Expand Down

0 comments on commit f10e2d1

Please sign in to comment.