Return empty list rather than None when there are no emphemeral events for a room
parent
2cd29dbdd9
commit
0b1cc7cc0b
|
@ -370,7 +370,7 @@ class SyncHandler(BaseHandler):
|
||||||
prev_batch=prev_batch_token,
|
prev_batch=prev_batch_token,
|
||||||
state=state_events_delta,
|
state=state_events_delta,
|
||||||
limited=limited,
|
limited=limited,
|
||||||
ephemeral=typing_by_room.get(room_id, None)
|
ephemeral=typing_by_room.get(room_id, [])
|
||||||
)
|
)
|
||||||
|
|
||||||
logging.debug("Room sync: %r", room_sync)
|
logging.debug("Room sync: %r", room_sync)
|
||||||
|
|
Loading…
Reference in New Issue