1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

Fix bug with current buffer and hotlist: now it's added to hotlist if user is scrolling up buffer

This commit is contained in:
Sebastien Helleu
2008-06-20 16:32:15 +02:00
parent 6bb860456c
commit 72286fe8bb
+2 -2
View File
@@ -746,12 +746,12 @@ gui_chat_line_add (struct t_gui_buffer *buffer, time_t date,
if (new_line->prefix_length > buffer->prefix_max_length)
buffer->prefix_max_length = new_line->prefix_length;
if (new_line->highlight)
gui_hotlist_add (buffer, GUI_HOTLIST_HIGHLIGHT, NULL, 0);
gui_hotlist_add (buffer, GUI_HOTLIST_HIGHLIGHT, NULL, 1);
else
{
gui_hotlist_add (buffer,
gui_chat_line_get_notify_level (new_line),
NULL, 0);
NULL, 1);
}
}
else