From 786072806bc98092ed1b1c03a596ee72eeb9abf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 16 Aug 2020 08:27:00 +0200 Subject: [PATCH] core: set notify_level to 3 in case of highlight only if tag "notify_none" is not in the line (issue #1529) --- src/gui/gui-line.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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