diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-16 12:40:01 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-16 12:40:01 +0200 |
commit | 330d7d50d23c790443e66c1910ed604ea9b9b7dc (patch) | |
tree | bb3f2045f0aa5437428ad8b6368c0980074b66c0 /src | |
parent | 786072806bc98092ed1b1c03a596ee72eeb9abf6 (diff) | |
download | weechat-330d7d50d23c790443e66c1910ed604ea9b9b7dc.zip |
core: set notify_level to 3 in case of highlight in gui_line_hook_update only if tag "notify_none" is not in the line (issue #1529)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-line.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index d38d955eb..34ba65af8 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -1564,8 +1564,11 @@ gui_line_hook_update (struct t_gui_line *line, if ((tags_updated || notify_level_updated) && !highlight_updated) { gui_line_set_highlight (line, max_notify_level); - if (line->data->highlight && !notify_level_updated) + if (line->data->highlight && !notify_level_updated + && (line->data->notify_level >= 0)) + { line->data->notify_level = GUI_HOTLIST_HIGHLIGHT; + } } } |