You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Try and fix the Notifier race
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -27,8 +27,7 @@ import { _t } from './languageHandler';
|
||||
import Modal from './Modal';
|
||||
import SettingsStore, {SettingLevel} from "./settings/SettingsStore";
|
||||
import {
|
||||
showToast as showNotificationsToast,
|
||||
hideToast as hideNotificationsToast,
|
||||
hideToast as hideNotificationsToast, showToast as showNotificationsToast,
|
||||
} from "./toasts/DesktopNotificationsToast";
|
||||
|
||||
/*
|
||||
@@ -188,10 +187,6 @@ const Notifier = {
|
||||
MatrixClientPeg.get().on("sync", this.boundOnSyncStateChange);
|
||||
this.toolbarHidden = false;
|
||||
this.isSyncing = false;
|
||||
|
||||
if (this.shouldShowToolbar()) {
|
||||
showNotificationsToast();
|
||||
}
|
||||
},
|
||||
|
||||
stop: function() {
|
||||
|
||||
Reference in New Issue
Block a user