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
|
@ -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)
|
||||
# EDUs
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue