From 13c64586524324114e55ded3e408a53c168f8a04 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 26 Feb 2020 03:04:51 -0500 Subject: Support account-tag --- bounce.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bounce.h') diff --git a/bounce.h b/bounce.h index 7f7c247..7813284 100644 --- a/bounce.h +++ b/bounce.h @@ -66,6 +66,7 @@ static inline struct Message parse(char *line) { #define ENUM_CAP \ X("account-notify", CapAccountNotify) \ + X("account-tag", CapAccountTag) \ X("away-notify", CapAwayNotify) \ X("causal.agency/passive", CapPassive) \ X("chghost", CapChghost) \ @@ -82,7 +83,7 @@ enum Cap { #define X(name, id) BIT(id), ENUM_CAP #undef X - TagCaps = CapMessageTags | CapServerTime, + TagCaps = CapAccountTag | CapMessageTags | CapServerTime, }; static const char *CapNames[] = { -- cgit 1.4.1