aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2017-11-21 17:17:54 +0100
committerGitHub <noreply@github.com>2017-11-21 17:17:54 +0100
commit1114e63ecec429ba89f998b2c8be0be531f4f5f4 (patch)
tree48678cd5d77bee3af199d08138dfc137016b3eae /wee_slack.py
parent5c4886dc95e654a88ba1b27ab93f82ea1bc98af5 (diff)
parentef6fd59d1f51a77f3f20724deb2a9ae70a9e29d1 (diff)
downloadwee-slack-1114e63ecec429ba89f998b2c8be0be531f4f5f4.tar.gz
Merge pull request #475 from immae/team_identifier
Hilight team identifier in slack
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 03e1748..146a644 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1267,7 +1267,7 @@ class SlackChannel(object):
def set_highlights(self):
# highlight my own name and any set highlights
if self.channel_buffer:
- highlights = self.team.highlight_words.union({'@' + self.team.nick, "!here", "!channel", "!everyone"})
+ highlights = self.team.highlight_words.union({'@' + self.team.nick, self.team.myidentifier, "!here", "!channel", "!everyone"})
h_str = ",".join(highlights)
w.buffer_set(self.channel_buffer, "highlight_words", h_str)