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

irc: properly rename private buffer on notice messages

This commit is contained in:
Sébastien Helleu
2023-01-03 01:06:51 +01:00
parent 99988bdee7
commit 9ee0955d6b
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -2428,6 +2428,10 @@ IRC_PROTOCOL_CALLBACK(notice)
if (ptr_channel)
{
/* rename buffer if open with nick case not matching */
if (strcmp (ptr_channel->name, nick) != 0)
irc_channel_pv_rename (server, ptr_channel, nick);
if (weechat_config_boolean (irc_config_look_typing_status_nicks))
{
irc_typing_channel_set_nick (ptr_channel, nick,