1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

irc: hide self actions sent with /me when capability "echo-message" is enabled (issue #139)

This commit is contained in:
Sébastien Helleu
2023-05-25 19:19:11 +02:00
parent f9e358b76c
commit 3a8525bb95
+7
View File
@@ -1071,6 +1071,13 @@ irc_command_me_channel_display (struct t_irc_server *server,
char *string;
struct t_irc_nick *ptr_nick;
/*
* if capability "echo-message" is enabled, we don't display anything,
* the message will be displayed when server sends it back to us
*/
if (weechat_hashtable_has_key (server->cap_list, "echo-message"))
return;
string = (arguments && arguments[0]) ?
irc_color_decode (arguments,
weechat_config_boolean (irc_config_network_colors_send)) : NULL;