Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/19927.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a regression where application services that opted into ephemeral events using the legacy `de.sorunome.msc2409.push_ephemeral` registration flag stopped receiving ephemeral events (including to-device messages used for encryption). Introduced in v1.156.0.
5 changes: 4 additions & 1 deletion synapse/handlers/appservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,10 @@ def notify_interested_services_ephemeral(
StreamKeyType.PRESENCE,
StreamKeyType.TO_DEVICE,
)
and service.supports_ephemeral
# Honour both the stable `receive_ephemeral` registration flag and the
# legacy `de.sorunome.msc2409.push_ephemeral` one, matching the
# transaction body built in `ApplicationServiceApi.push_bulk`.
and (service.supports_ephemeral or service.supports_unstable_ephemeral)
)
or (
stream_key == StreamKeyType.DEVICE_LIST
Expand Down