1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

irc: fix title of query buffer for own messages received (issue #2016)

This commit is contained in:
Sébastien Helleu
2023-09-14 15:22:11 +02:00
parent 049e9d23c5
commit a2c3322df7
+3 -2
View File
@@ -3288,6 +3288,9 @@ IRC_PROTOCOL_CALLBACK(privmsg)
IRC_CHANNEL_TYPING_STATE_OFF);
}
if (ptr_channel && (!nick_is_me || !cap_echo_message))
irc_channel_set_topic (ptr_channel, address);
if (nick_is_me)
{
str_color = irc_color_for_tags (
@@ -3296,8 +3299,6 @@ IRC_PROTOCOL_CALLBACK(privmsg)
}
else
{
if (ptr_channel)
irc_channel_set_topic (ptr_channel, address);
if (weechat_config_boolean (irc_config_look_color_pv_nick_like_channel))
{
color = irc_nick_find_color_name (server, nick);