From 810f72ce2c390d5f8c9c9c4c88dcfebec4f235c2 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 17 Mar 2016 11:34:20 +0000 Subject: [PATCH] suppress notification floods again after returning from error state --- src/Notifier.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Notifier.js b/src/Notifier.js index 523c259cf4..08322e91bc 100644 --- a/src/Notifier.js +++ b/src/Notifier.js @@ -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) {