Skip to content
Snippets Groups Projects
Unverified Commit a1130117 authored by Travis Ralston's avatar Travis Ralston Committed by GitHub
Browse files

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
parent 28d96cb2
No related branches found
No related tags found
No related merge requests found
Fix appservices not receiving room-less EDUs, like presence, if enabled.
\ No newline at end of file
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment