aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
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 97a602f..51e16f1 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1378,7 +1378,7 @@ class SlackChannel(object):
elif ts <= last_read:
tags = tag("backlog", user=tag_nick)
elif self.type in ["im", "mpdm"]:
- if nick != self.team.nick:
+ if tag_nick != self.team.nick:
tags = tag("dm", user=tag_nick)
self.new_messages = True
else: