1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +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:22:43 +02:00
parent 49bbc53d7c
commit 7f13bdb51a
19 changed files with 101 additions and 17 deletions
+2 -1
View File
@@ -3232,7 +3232,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,