]> jfr.im git - irc/weechat/weechat.git/commitdiff
core: set notify_level to 3 in case of highlight only if tag "notify_none" is not...
authorSébastien Helleu <redacted>
Sun, 16 Aug 2020 06:27:00 +0000 (08:27 +0200)
committerSébastien Helleu <redacted>
Sun, 16 Aug 2020 06:27:00 +0000 (08:27 +0200)
src/gui/gui-line.c

index ee5e2644c7fdfb0cc7a204ff102e9084666175b7..d38d955eb40c6a2af54a33debb37f4ce5055aaa4 100644 (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