diff options
author | June McEnroe <june@causal.agency> | 2021-01-24 00:49:53 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-24 12:59:15 -0500 |
commit | 3b1c1b835c6439507b68d7666df61fa96e61095c (patch) | |
tree | d5e64d09827726188ba103d3407876664a5655b3 /bounce.h | |
parent | Add -o and -t options to trust self-signed certificates (diff) | |
download | pounce-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.h | 1 |
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) \ |