1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

core: set notify_level to 3 in case of highlight only if tag "notify_none" is not in the line (issue #1529)

This commit is contained in:
Sébastien Helleu
2020-08-16 08:27:00 +02:00
parent d15db0ecbb
commit 786072806b
+1 -1
View File
@@ -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