mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
core: send signal "buffer_line_added" on buffers with free content (issue #2066)
The signal "buffer_line_added" is now sent for every line added or modified on a buffer with free content.
This commit is contained in:
@@ -2049,6 +2049,10 @@ gui_line_add_y (struct t_gui_line *line)
|
||||
ptr_line->data->refresh_needed = 1;
|
||||
|
||||
gui_buffer_ask_chat_refresh (ptr_line->data->buffer, 1);
|
||||
|
||||
(void) gui_buffer_send_signal (ptr_line->data->buffer,
|
||||
"buffer_line_added",
|
||||
WEECHAT_HOOK_SIGNAL_POINTER, ptr_line);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user