1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

suppress notification floods again after returning from error state

This commit is contained in:
Matthew Hodgson
2016-03-17 11:34:20 +00:00
parent e9b0539b58
commit 810f72ce2c

View File

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