Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 762d052

Browse files
authored
Fix offline status in window title not working reliably (#8656)
1 parent 025fb63 commit 762d052

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/stores/notifications/RoomNotificationStateStore.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ export class RoomNotificationStateStore extends AsyncStoreWithClient<IState> {
124124
if (this.globalState.symbol !== globalState.symbol ||
125125
this.globalState.count !== globalState.count ||
126126
this.globalState.color !== globalState.color ||
127-
this.globalState.numUnreadStates !== globalState.numUnreadStates
127+
this.globalState.numUnreadStates !== globalState.numUnreadStates ||
128+
state !== prevState
128129
) {
129130
this._globalState = globalState;
130131
this.emit(UPDATE_STATUS_INDICATOR, globalState, state, prevState, data);

0 commit comments

Comments
 (0)