mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +02:00
Hotlist not changed when self away or nick change
This commit is contained in:
@@ -65,6 +65,7 @@ char *nicks_colors[COLOR_WIN_NICK_NUMBER] =
|
||||
|
||||
int color_attr[NUM_COLORS];
|
||||
|
||||
|
||||
/*
|
||||
* gui_assign_color: assign a color (read from config)
|
||||
*/
|
||||
@@ -2398,7 +2399,7 @@ gui_add_message (t_gui_buffer *buffer, int type, int color, char *message)
|
||||
pos[0] = '\n';
|
||||
if (buffer->num_displayed > 0)
|
||||
gui_draw_buffer_chat (buffer, 0);
|
||||
if (buffer->num_displayed == 0)
|
||||
if (gui_add_hotlist && (buffer->num_displayed == 0))
|
||||
{
|
||||
if (3 - buffer->last_line->line_with_message -
|
||||
buffer->last_line->line_with_highlight <=
|
||||
|
||||
Reference in New Issue
Block a user