diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-16 08:27:00 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-16 08:27:00 +0200 |
commit | 786072806bc98092ed1b1c03a596ee72eeb9abf6 (patch) | |
tree | d30fd0725c95d6b7ff48c7aff48e65e57fae8e43 /src | |
parent | d15db0ecbba3f850e1c163581c09e146a3c7f4aa (diff) | |
download | weechat-786072806bc98092ed1b1c03a596ee72eeb9abf6.zip |
core: set notify_level to 3 in case of highlight only if tag "notify_none" is not in the line (issue #1529)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index ee5e2644c..d38d955eb 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -1363,7 +1363,7 @@ gui_line_new (struct t_gui_buffer *buffer, int y, time_t date, max_notify_level = gui_line_get_max_notify_level (new_line); gui_line_set_notify_level (new_line, max_notify_level); gui_line_set_highlight (new_line, max_notify_level); - if (new_line->data->highlight) + if (new_line->data->highlight && (new_line->data->notify_level >= 0)) new_line->data->notify_level = GUI_HOTLIST_HIGHLIGHT; } else |