1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 11:43:13 +02:00

irc: add tag "self_msg" on self messages (closes #840)

This commit is contained in:
Sébastien Helleu
2016-11-26 13:58:16 +01:00
parent cfc22c700c
commit 377fad22db
25 changed files with 192 additions and 182 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ irc_input_user_message_display (struct t_gui_buffer *buffer, int action,
if (action)
{
snprintf (str_tags, sizeof (str_tags),
"irc_action,notify_none,no_highlight");
"irc_action,self_msg,notify_none,no_highlight");
}
else
{
@@ -90,7 +90,7 @@ irc_input_user_message_display (struct t_gui_buffer *buffer, int action,
weechat_config_color (
weechat_config_get ("weechat.color.chat_nick_self")));
snprintf (str_tags, sizeof (str_tags),
"notify_none,no_highlight,prefix_nick_%s",
"notify_none,self_msg,no_highlight,prefix_nick_%s",
(str_color) ? str_color : "default");
if (str_color)
free (str_color);