stop floods of notifs when doing a logout+login

pull/21833/head
Matthew Hodgson 2016-02-15 22:07:08 +00:00
parent 4b8b2ade8b
commit 687eae7f43
1 changed files with 3 additions and 0 deletions

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) {