aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-10-24 17:09:35 -0700
committerRyan Huber <rhuber@gmail.com>2014-10-24 17:09:35 -0700
commit22b2bfa2be5e9c98585071558fff521959d95c5e (patch)
tree05348ffc8bfb0df7d678235bc5394d1822803ca2 /wee_slack.py
parenteadea1d2efd2bb8a7c247932b631cbe93b31dcd1 (diff)
downloadwee-slack-22b2bfa2be5e9c98585071558fff521959d95c5e.tar.gz
make highlights work
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 ff40278..31e32f9 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -332,6 +332,8 @@ class Channel(SlackThing):
message = message.encode('ascii', 'ignore')
if backlog == True or (time != 0 and self.last_read > time):
tags = "no_highlight,notify_none,logger_backlog_end"
+ elif message.find(self.server.nick) > -1:
+ tags = "highlight"
else:
tags = ""
time = int(float(time))