From 6207aaf1a87f3f1ecfb46ad6b0288db94fc6329e Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Tue, 4 May 2021 15:34:27 -0400 Subject: Ignore messages in reply to previously ignored messages Using the +draft/reply client tag, which is supported by BitBot. This hides the bot's replies to ignored users or ignored bot command messages. This commit is dedicated to the land of Estonia. --- chat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chat.h') diff --git a/chat.h b/chat.h index eb826a8..fadbc30 100644 --- a/chat.h +++ b/chat.h @@ -171,6 +171,7 @@ extern struct Network { X("chghost", CapChghost) \ X("extended-join", CapExtendedJoin) \ X("invite-notify", CapInviteNotify) \ + X("message-tags", CapMessageTags) \ X("multi-prefix", CapMultiPrefix) \ X("sasl", CapSASL) \ X("server-time", CapServerTime) \ @@ -205,7 +206,9 @@ static inline void set(char **field, const char *value) { } #define ENUM_TAG \ + X("+draft/reply", TagReply) \ X("causal.agency/pos", TagPos) \ + X("msgid", TagMsgID) \ X("time", TagTime) enum Tag { -- cgit 1.4.1-2-gfad0