diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2017-11-21 17:17:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-21 17:17:54 +0100 |
commit | 1114e63ecec429ba89f998b2c8be0be531f4f5f4 (patch) | |
tree | 48678cd5d77bee3af199d08138dfc137016b3eae /wee_slack.py | |
parent | 5c4886dc95e654a88ba1b27ab93f82ea1bc98af5 (diff) | |
parent | ef6fd59d1f51a77f3f20724deb2a9ae70a9e29d1 (diff) | |
download | wee-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.py | 2 |
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) |