mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
irc: add tag "self_msg" on self messages (closes #840)
This commit is contained in:
@@ -643,7 +643,8 @@ irc_command_me_channel_display (struct t_irc_server *server,
|
||||
weechat_printf_date_tags (
|
||||
channel->buffer,
|
||||
0,
|
||||
irc_protocol_tags ("privmsg", "irc_action,notify_none,no_highlight",
|
||||
irc_protocol_tags ("privmsg",
|
||||
"irc_action,self_msg,notify_none,no_highlight",
|
||||
server->nick, NULL),
|
||||
"%s%s%s%s%s%s%s",
|
||||
weechat_prefix ("action"),
|
||||
@@ -1446,7 +1447,7 @@ IRC_COMMAND_CALLBACK(ctcp)
|
||||
ptr_server, ctcp_target, NULL, "ctcp", NULL),
|
||||
0,
|
||||
irc_protocol_tags ("privmsg",
|
||||
"irc_ctcp,notify_none,no_highlight",
|
||||
"irc_ctcp,self_msg,notify_none,no_highlight",
|
||||
NULL, NULL),
|
||||
_("%sCTCP query to %s%s%s: %s%s%s%s%s"),
|
||||
weechat_prefix ("network"),
|
||||
@@ -3170,7 +3171,7 @@ IRC_COMMAND_CALLBACK(msg)
|
||||
weechat_printf_date_tags (
|
||||
ptr_channel2->buffer,
|
||||
0,
|
||||
"notify_none,no_highlight",
|
||||
"self_msg,notify_none,no_highlight",
|
||||
"%s%s%s -> %s%s%s: %s",
|
||||
weechat_prefix ("network"),
|
||||
"Msg",
|
||||
@@ -3260,7 +3261,8 @@ IRC_COMMAND_CALLBACK(msg)
|
||||
ptr_server->buffer,
|
||||
0,
|
||||
irc_protocol_tags (
|
||||
"privmsg", "notify_none,no_highlight",
|
||||
"privmsg",
|
||||
"self_msg,notify_none,no_highlight",
|
||||
ptr_server->nick, NULL),
|
||||
"%sMSG%s(%s%s%s)%s: %s",
|
||||
weechat_prefix ("network"),
|
||||
@@ -3441,7 +3443,7 @@ IRC_COMMAND_CALLBACK(notice)
|
||||
ptr_server, argv[arg_target], "notice", NULL,
|
||||
(ptr_channel) ? ptr_channel->buffer : NULL),
|
||||
0,
|
||||
"notify_none,no_highlight",
|
||||
"self_msg,notify_none,no_highlight",
|
||||
"%s%s%s%s -> %s%s%s: %s",
|
||||
weechat_prefix ("network"),
|
||||
IRC_COLOR_NOTICE,
|
||||
|
||||
Reference in New Issue
Block a user