From fe80cc79131fcff8bca77873a805858f7e98be9f Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 8 Aug 2020 22:29:43 +0200 Subject: weechat: Even better line tagging --- weechat/tomsg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'weechat') diff --git a/weechat/tomsg.c b/weechat/tomsg.c index b56b08c..b3ae583 100644 --- a/weechat/tomsg.c +++ b/weechat/tomsg.c @@ -79,13 +79,13 @@ static void display_message( bool is_self_msg ) { char tags[128]; - snprintf(tags, sizeof tags, "tomsgid_%" PRIi64 ",nick_%s,log1%s%s", + snprintf(tags, sizeof tags, "tomsgid_%" PRIi64 ",nick_%s%s%s", msgid, username, is_history ? ",notify_none,no_log" - : is_self_msg ? ",notify_none" - : room->nmembers == 2 ? ",notify_private" - : ",notify_message", + : is_self_msg ? ",notify_none,log1" + : room->nmembers == 2 ? ",notify_private,log1" + : ",notify_message,log1", is_reply ? ",tomsg_reply" : ""); weechat_printf_date_tags( -- cgit v1.2.3-70-g09d2