summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-26 03:08:11 -0500
committerJune McEnroe <june@causal.agency>2020-02-26 03:08:11 -0500
commit666701b0e0a3c72cceea463c2f47c951dcb314eb (patch)
tree2d49d30629e424cd3be2a40428a57b5f01e01df3 /bounce.h
parentSupport account-tag (diff)
downloadpounce-666701b0e0a3c72cceea463c2f47c951dcb314eb.tar.gz
pounce-666701b0e0a3c72cceea463c2f47c951dcb314eb.zip
Support batch
Diffstat (limited to '')
-rw-r--r--bounce.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bounce.h b/bounce.h
index 7813284..4718cce 100644
--- a/bounce.h
+++ b/bounce.h
@@ -68,6 +68,7 @@ static inline struct Message parse(char *line) {
 	X("account-notify", CapAccountNotify) \
 	X("account-tag", CapAccountTag) \
 	X("away-notify", CapAwayNotify) \
+	X("batch", CapBatch) \
 	X("causal.agency/passive", CapPassive) \
 	X("chghost", CapChghost) \
 	X("extended-join", CapExtendedJoin) \
@@ -83,7 +84,7 @@ enum Cap {
 #define X(name, id) BIT(id),
 	ENUM_CAP
 #undef X
-	TagCaps = CapAccountTag | CapMessageTags | CapServerTime,
+	TagCaps = CapAccountTag | CapBatch | CapMessageTags | CapServerTime,
 };
 
 static const char *CapNames[] = {