Fix offline status in window title not working reliably (#8656)
This commit is contained in:
parent
025fb631b7
commit
762d052501
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ export class RoomNotificationStateStore extends AsyncStoreWithClient<IState> {
|
||||||
if (this.globalState.symbol !== globalState.symbol ||
|
if (this.globalState.symbol !== globalState.symbol ||
|
||||||
this.globalState.count !== globalState.count ||
|
this.globalState.count !== globalState.count ||
|
||||||
this.globalState.color !== globalState.color ||
|
this.globalState.color !== globalState.color ||
|
||||||
this.globalState.numUnreadStates !== globalState.numUnreadStates
|
this.globalState.numUnreadStates !== globalState.numUnreadStates ||
|
||||||
|
state !== prevState
|
||||||
) {
|
) {
|
||||||
this._globalState = globalState;
|
this._globalState = globalState;
|
||||||
this.emit(UPDATE_STATUS_INDICATOR, globalState, state, prevState, data);
|
this.emit(UPDATE_STATUS_INDICATOR, globalState, state, prevState, data);
|
||||||
|
|
Loading…
Reference in a new issue