1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

irc: add option irc.look.open_pv_buffer_echo_msg (issue #2016)

This commit is contained in:
Sébastien Helleu
2023-09-14 20:19:05 +02:00
parent 63fc9aace8
commit cb680ef9df
19 changed files with 120 additions and 47 deletions
+2 -1
View File
@@ -3265,7 +3265,8 @@ IRC_PROTOCOL_CALLBACK(privmsg)
if (strcmp (ptr_channel->name, remote_nick) != 0)
irc_channel_pv_rename (server, ptr_channel, remote_nick);
}
else if (!nick_is_me || !cap_echo_message)
else if (!nick_is_me || !cap_echo_message
|| weechat_config_boolean (irc_config_look_open_pv_buffer_echo_msg))
{
ptr_channel = irc_channel_new (server,
IRC_CHANNEL_TYPE_PRIVATE,