summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-24 00:49:53 -0500
committerJune McEnroe <june@causal.agency>2021-01-24 12:59:15 -0500
commit3b1c1b835c6439507b68d7666df61fa96e61095c (patch)
treed5e64d09827726188ba103d3407876664a5655b3 /bounce.h
parentAdd -o and -t options to trust self-signed certificates (diff)
downloadpounce-3b1c1b835c6439507b68d7666df61fa96e61095c.tar.gz
pounce-3b1c1b835c6439507b68d7666df61fa96e61095c.zip
Support echo-message capability
Only request it with labeled-response, since it is impossible to
correlate messages to clients without. For clients without echo-message,
synthesize a label on PRIVMSG/NOTICE/TAGMSG, then filter out received
messages with that label.
Diffstat (limited to '')
-rw-r--r--bounce.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index 2bcd77c..a2265c8 100644
--- a/bounce.h
+++ b/bounce.h
@@ -83,6 +83,7 @@ static inline struct Message parse(char *line) {
 	X("causal.agency/consumer", CapConsumer) \
 	X("causal.agency/passive", CapPassive) \
 	X("chghost", CapChghost) \
+	X("echo-message", CapEchoMessage) \
 	X("extended-join", CapExtendedJoin) \
 	X("invite-notify", CapInviteNotify) \
 	X("labeled-response", CapLabeledResponse) \