diff options
author | June McEnroe <june@causal.agency> | 2021-05-04 15:34:27 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-05-04 15:34:27 -0400 |
commit | 6207aaf1a87f3f1ecfb46ad6b0288db94fc6329e (patch) | |
tree | e1f77ed10140038af243266dd7ff316a87eed7a7 /chat.h | |
parent | Add support for BINDIR, fix default MANDIR, use LDADD vars (diff) | |
download | test-6207aaf1a87f3f1ecfb46ad6b0288db94fc6329e.tar.gz test-6207aaf1a87f3f1ecfb46ad6b0288db94fc6329e.zip |
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.
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |