summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-25 19:09:33 -0500
committerJune McEnroe <june@causal.agency>2020-02-25 19:09:33 -0500
commit17f7b201aa6236d074792d6e270302765b1d8fff (patch)
tree3522787896fc66384358da75c12d268301703089 /bounce.h
parentRespond to tagged PINGs correctly (diff)
downloadpounce-17f7b201aa6236d074792d6e270302765b1d8fff.tar.gz
pounce-17f7b201aa6236d074792d6e270302765b1d8fff.zip
Support message-tags
Diffstat (limited to '')
-rw-r--r--bounce.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bounce.h b/bounce.h
index da52592..7f7c247 100644
--- a/bounce.h
+++ b/bounce.h
@@ -71,6 +71,7 @@ static inline struct Message parse(char *line) {
 	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) \
@@ -81,7 +82,7 @@ enum Cap {
 #define X(name, id) BIT(id),
 	ENUM_CAP
 #undef X
-	TagCaps = CapServerTime,
+	TagCaps = CapMessageTags | CapServerTime,
 };
 
 static const char *CapNames[] = {