summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-07-20 09:26:36 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-07-20 09:26:36 +0200
commit2b16036f086974fdcb61f6963c00b40a5038b970 (patch)
treec9262276a902d82e14ddff05a2c1ef575d518800
parent9ef793fd653b88ad6cc8fe63ce79d10d13a0f5f0 (diff)
downloadweechat-2b16036f086974fdcb61f6963c00b40a5038b970.zip
core: do not add line with highlight and tag "notify_none" to hotlist (closes #1529)
-rw-r--r--ChangeLog.adoc7
-rw-r--r--src/gui/gui-line.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 78998df86..451c187a6 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -15,6 +15,13 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources).
+[[v3.0]]
+== Version 3.0 (under dev)
+
+Bug fixes::
+
+ * core: do not add line with highlight and tag "notify_none" to hotlist (issue #1529)
+
[[v2.9]]
== Version 2.9 (2020-07-18)
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c
index 519941585..8e634ddba 100644
--- a/src/gui/gui-line.c
+++ b/src/gui/gui-line.c
@@ -1581,7 +1581,8 @@ gui_line_add (struct t_gui_line *line)
/* update hotlist and/or send signals for line */
if (line->data->displayed)
{
- if (line->data->highlight)
+ if ((line->data->notify_level >= GUI_HOTLIST_MIN)
+ && line->data->highlight)
{
(void) gui_hotlist_add (line->data->buffer,
GUI_HOTLIST_HIGHLIGHT, NULL);