diff options
-rw-r--r-- | wee_slack.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 41dd7bb..73b0d79 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -280,6 +280,9 @@ class SlackServer(object): else: self.message_buffer.pop(message_id) for chan in self.channels: + # Set channel history back to false because we will miss messages that came + # while we were disconnected otherwise. + chan.got_history = False if chan.channel_buffer and chan.muted: w.buffer_set(chan.channel_buffer, "hotlist", "-1") return True |