aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-13 13:43:25 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-13 13:43:25 -0800
commit2bc87a60a44e9b59f8ba3ddae7f43ef661a9f370 (patch)
treecfa75fdd23876f8652fd91021df053521186b00f /wee_slack.py
parent6411a77a3e85681b117c623e9143870970e6e8e1 (diff)
downloadwee-slack-2bc87a60a44e9b59f8ba3ddae7f43ef661a9f370.tar.gz
derp
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 406400a..79e9bbc 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1114,7 +1114,7 @@ class SlackChannel(object):
ts = SlackTS(timestamp)
last_read = SlackTS(self.last_read)
#without this, DMs won't open automatically
- if not self.channel_buffer and ts <= last_read:
+ if not self.channel_buffer and ts >= last_read:
self.open(update_remote=False)
if self.channel_buffer:
#backlog messages - we will update the read marker as we print these