diff options
author | June McEnroe <june@causal.agency> | 2020-02-25 19:09:33 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-25 19:09:33 -0500 |
commit | 17f7b201aa6236d074792d6e270302765b1d8fff (patch) | |
tree | 3522787896fc66384358da75c12d268301703089 /bounce.h | |
parent | Respond to tagged PINGs correctly (diff) | |
download | pounce-17f7b201aa6236d074792d6e270302765b1d8fff.tar.gz pounce-17f7b201aa6236d074792d6e270302765b1d8fff.zip |
Support message-tags
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 3 |
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[] = { |