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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user