stop floods of notifs when doing a logout+login
parent
4b8b2ade8b
commit
687eae7f43
|
@ -182,6 +182,9 @@ var Notifier = {
|
||||||
if (state === "PREPARED" || state === "SYNCING") {
|
if (state === "PREPARED" || state === "SYNCING") {
|
||||||
this.isPrepared = true;
|
this.isPrepared = true;
|
||||||
}
|
}
|
||||||
|
else if (state === "STOPPED" || state === "ERROR") {
|
||||||
|
this.isPrepared = false;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onRoomTimeline: function(ev, room, toStartOfTimeline) {
|
onRoomTimeline: function(ev, room, toStartOfTimeline) {
|
||||||
|
|
Loading…
Reference in New Issue