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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user