mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix appservice EDUs failing to send if the EDU doesn't have a room ID (#13236)
* Fix appservice EDUs failing to send if the EDU doesn't have a room ID As is in the case of presence. * changelog * linter * fix linter again
This commit is contained in:
parent
28d96cb2b4
commit
a113011794
1
changelog.d/13236.bugfix
Normal file
1
changelog.d/13236.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix appservices not receiving room-less EDUs, like presence, if enabled.
|
@ -319,7 +319,9 @@ class _ServiceQueuer:
|
|||||||
rooms_of_interesting_users.update(event.room_id for event in events)
|
rooms_of_interesting_users.update(event.room_id for event in events)
|
||||||
# EDUs
|
# EDUs
|
||||||
rooms_of_interesting_users.update(
|
rooms_of_interesting_users.update(
|
||||||
ephemeral["room_id"] for ephemeral in ephemerals
|
ephemeral["room_id"]
|
||||||
|
for ephemeral in ephemerals
|
||||||
|
if ephemeral.get("room_id") is not None
|
||||||
)
|
)
|
||||||
|
|
||||||
# Look up the AS users in those rooms
|
# Look up the AS users in those rooms
|
||||||
|
Loading…
Reference in New Issue
Block a user