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)

This commit is contained in:
Sébastien Helleu 2020-08-16 12:40:01 +02:00
parent 786072806b
commit 330d7d50d2

View File

@ -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;
}
}
}