mirror of https://github.com/vector-im/riot-web
suppress notification floods again after returning from error state
parent
e9b0539b58
commit
810f72ce2c
|
@ -209,6 +209,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) {
|
||||
|
|
Loading…
Reference in New Issue