aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-10-27 21:19:53 -0700
committerRyan Huber <rhuber@gmail.com>2014-10-27 21:19:53 -0700
commit03acf12d39cb4e186ab4544f576105c5515166bb (patch)
tree685ef3a637dd74e46eeec8e833a413226f008ecb /wee_slack.py
parent86a03c068fbdefcbfff503a6a9e1cf279d1bfce8 (diff)
downloadwee-slack-03acf12d39cb4e186ab4544f576105c5515166bb.tar.gz
private message tagging
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 8e1529e..45483d1 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -388,6 +388,8 @@ class Channel(SlackThing):
set_read_marker = True
elif message.find(self.server.nick) > -1:
tags = "notify_highlight"
+ elif self.name in self.server.users:
+ tags = "notify_private,notify_message"
else:
tags = "notify_message"
time = int(float(time))