1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

irc: fix display of actions (/me) when they are received from a relay client (in channel and private buffers) (bug #38027)

This commit is contained in:
Sebastien Helleu
2013-01-06 12:25:34 +01:00
parent 323801f869
commit faccb87a10
4 changed files with 77 additions and 25 deletions
+4 -2
View File
@@ -2684,7 +2684,7 @@ irc_command_msg (void *data, struct t_gui_buffer *buffer, int argc,
}
string = irc_color_decode (argv_eol[arg_text],
weechat_config_boolean (irc_config_network_colors_receive));
irc_input_user_message_display (ptr_channel->buffer,
irc_input_user_message_display (ptr_channel->buffer, 0,
(string) ? string : argv_eol[arg_text]);
if (string)
free (string);
@@ -2739,6 +2739,7 @@ irc_command_msg (void *data, struct t_gui_buffer *buffer, int argc,
{
/* standard message (to "#channel") */
irc_input_user_message_display (ptr_channel->buffer,
0,
(string) ? string : argv_eol[arg_text]);
}
if (string)
@@ -2788,6 +2789,7 @@ irc_command_msg (void *data, struct t_gui_buffer *buffer, int argc,
if (ptr_channel)
{
irc_input_user_message_display (ptr_channel->buffer,
0,
(string) ? string : argv_eol[arg_text]);
}
else
@@ -3474,7 +3476,7 @@ irc_command_query (void *data, struct t_gui_buffer *buffer, int argc,
{
string = irc_color_decode (argv_eol[arg_text],
weechat_config_boolean (irc_config_network_colors_receive));
irc_input_user_message_display (ptr_channel->buffer,
irc_input_user_message_display (ptr_channel->buffer, 0,
(string) ? string : argv_eol[arg_text]);
if (string)
free (string);