Fix offline status in window title not working reliably (#8656)

This commit is contained in:
Michael Telatynski 2022-05-20 17:46:16 +01:00 committed by GitHub
parent 025fb631b7
commit 762d052501
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,8 @@ export class RoomNotificationStateStore extends AsyncStoreWithClient<IState> {
if (this.globalState.symbol !== globalState.symbol ||
this.globalState.count !== globalState.count ||
this.globalState.color !== globalState.color ||
this.globalState.numUnreadStates !== globalState.numUnreadStates
this.globalState.numUnreadStates !== globalState.numUnreadStates ||
state !== prevState
) {
this._globalState = globalState;
this.emit(UPDATE_STATUS_INDICATOR, globalState, state, prevState, data);