mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-28 18:38:15 +00:00
Return empty list rather than None when there are no emphemeral events for a room
This commit is contained in:
@@ -370,7 +370,7 @@ class SyncHandler(BaseHandler):
|
||||
prev_batch=prev_batch_token,
|
||||
state=state_events_delta,
|
||||
limited=limited,
|
||||
ephemeral=typing_by_room.get(room_id, None)
|
||||
ephemeral=typing_by_room.get(room_id, [])
|
||||
)
|
||||
|
||||
logging.debug("Room sync: %r", room_sync)
|
||||
|
||||
Reference in New Issue
Block a user