aboutsummaryrefslogtreecommitdiff
path: root/weechat
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-08-08 22:29:43 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-08-08 22:29:43 +0200
commitfe80cc79131fcff8bca77873a805858f7e98be9f (patch)
tree803b40bb3635896941d69ae876d625efe5c7bb00 /weechat
parent96d4db275fb6d6ed96096e489d46d6a31a31ea5e (diff)
weechat: Even better line tagging
Diffstat (limited to 'weechat')
-rw-r--r--weechat/tomsg.c8
1 files changed, 4 insertions, 4 deletions
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(