diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-01-30 16:24:40 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-01-30 16:56:13 +0000 |
commit | 0b1cc7cc0bd81f93ed353a6ac67e06f91b62ab90 (patch) | |
tree | ed988323eebc0957f25838b736369ac30ca1f738 /synapse/handlers/sync.py | |
parent | Fix bug where accepting invite over federation didn't work. Add logging. (diff) | |
download | synapse-0b1cc7cc0bd81f93ed353a6ac67e06f91b62ab90.tar.xz |
Return empty list rather than None when there are no emphemeral events for a room
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r-- | synapse/handlers/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index dc69b3cfe7..962686f4bb 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -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) |