about summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-10 23:22:27 -0500
committerJune McEnroe <june@causal.agency>2020-01-10 23:27:39 -0500
commitd39908ab72efde02fabd17c222cd0105ebda9a22 (patch)
tree218ee887d26ddf94da586e02b79dba0c5de6c12b /bounce.h
parentRename -A and -Q to -y and -q (diff)
downloadpounce-d39908ab72efde02fabd17c222cd0105ebda9a22.tar.gz
pounce-d39908ab72efde02fabd17c222cd0105ebda9a22.zip
Add a vendor capability for passive clients
This way things like litterbox can do it automatically without having to
be configured with a hyphen-prefixed username, which is usually invalid
anywhere else.
Diffstat (limited to '')
-rw-r--r--bounce.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index 497640d..5bff619 100644
--- a/bounce.h
+++ b/bounce.h
@@ -63,6 +63,7 @@ static inline struct Message parse(char *line) {
 #define ENUM_CAP \
 	X("account-notify", CapAccountNotify) \
 	X("away-notify", CapAwayNotify) \
+	X("causal.agency/passive", CapPassive) \
 	X("chghost", CapChghost) \
 	X("extended-join", CapExtendedJoin) \
 	X("invite-notify", CapInviteNotify) \