Skip to content

Commit

Permalink
Don't set no_highlight for backlog messages
Browse files Browse the repository at this point in the history
Now that we don't run print hooks for backlog messages, we can keep
highlights without triggering anything else.
  • Loading branch information
trygveaa committed Jun 14, 2020
1 parent 679276f commit de5eb51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wee_slack.py
Expand Up @@ -3994,9 +3994,9 @@ def tag(ts, tagset=None, user=None, self_msg=False, backlog=False, no_log=False,
tags = [ts_tag, slack_tag] + nick_tag + tagsets.get(tagset, [])
if self_msg or backlog:
tags = [x for x in tags if x not in ["notify_highlight", "notify_message", "notify_private"]]
tags += ["notify_none", "no_highlight"]
tags += ["notify_none"]
if self_msg:
tags += ["self_msg"]
tags += ["self_msg", "no_highlight"]
if backlog:
tags += ["logger_backlog"]
if no_log:
Expand Down

0 comments on commit de5eb51

Please sign in to comment.