stop floods of notifs when doing a logout+login

This commit is contained in:
Matthew Hodgson 2016-02-15 22:07:08 +00:00
parent 4b8b2ade8b
commit 687eae7f43

View file

@ -182,6 +182,9 @@ var Notifier = {
if (state === "PREPARED" || state === "SYNCING") {
this.isPrepared = true;
}
else if (state === "STOPPED" || state === "ERROR") {
this.isPrepared = false;
}
},
onRoomTimeline: function(ev, room, toStartOfTimeline) {