summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-08-16 12:40:41 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-08-16 12:40:41 +0200
commitfca5a4b42ce68ee44e8051238bc352578f0cedef (patch)
tree88e81c6bef585711ae96f25a975d37400a4cc9d6
parent330d7d50d23c790443e66c1910ed604ea9b9b7dc (diff)
downloadweechat-fca5a4b42ce68ee44e8051238bc352578f0cedef.zip
core: set notify_level to 3 if highlight is forced in gui_line_hook_update (only if tag "notify_none" is not in the line) (issue #1529)
-rw-r--r--src/gui/gui-line.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c
index 34ba65af8..f10904857 100644
--- a/src/gui/gui-line.c
+++ b/src/gui/gui-line.c
@@ -1570,6 +1570,12 @@ gui_line_hook_update (struct t_gui_line *line,
line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
}
}
+
+ if (!notify_level_updated && highlight_updated && line->data->highlight
+ && (line->data->notify_level >= 0))
+ {
+ line->data->notify_level = GUI_HOTLIST_HIGHLIGHT;
+ }
}
/*