feat(pusher): opt-in event type in event_id_only push notifications #2171

Closed
mmaudet wants to merge 1 commit from mmaudet/continuwuity:feat/pusher-eio-type-upstream into main

1 commit

Author SHA1 Message Date
d0a5bdc445
feat(pusher): opt-in event type in event_id_only push notifications
Some checks failed
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 6s
Documentation / Build and Deploy Documentation (pull_request) Has been cancelled
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Checks / Prek / Check changed files (pull_request) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
Add pusher_event_id_only_include_event_type (default false) so that
push notifications for HTTP pushers registered with the event_id_only
format can additionally carry the event's type (e.g. m.call.invite).

The default behaviour is unchanged: event_id_only notifications carry
only the event ID, the room ID and the counts. With the option enabled
the gateway additionally learns the event type — and nothing else: no
content, sender, display name or room name. A VoIP push path (e.g. iOS
PushKit, where every push must be reported to CallKit immediately) can
then distinguish an incoming call from a message without a network
fetch.
2026-08-23 15:58:56 +02:00