summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-26 03:04:51 -0500
committerJune McEnroe <june@causal.agency>2020-02-26 03:04:51 -0500
commit13c64586524324114e55ded3e408a53c168f8a04 (patch)
treee3837904d5f426a0533cbe2da951c2daa955de26 /bounce.h
parentClean up intercept tag skip (diff)
downloadpounce-13c64586524324114e55ded3e408a53c168f8a04.tar.gz
pounce-13c64586524324114e55ded3e408a53c168f8a04.zip
Support account-tag
Diffstat (limited to '')
-rw-r--r--bounce.h3
1 files changed, 2 insertions, 1 deletions
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[] = {