diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-11-13 09:43:58 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-11-13 09:43:58 +0100 |
commit | ef6fd59d1f51a77f3f20724deb2a9ae70a9e29d1 (patch) | |
tree | 73b62008099bc09cdcc51d173717ad8fb49335ea | |
parent | 49211f9741a31a44a1bceff0c57ae0286f7a5aa7 (diff) | |
download | wee-slack-ef6fd59d1f51a77f3f20724deb2a9ae70a9e29d1.tar.gz |
Hilight team identifier in slack
-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 274e05e..e8084fb 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1268,7 +1268,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) |