diff --git a/synapse/storage/databases/main/deviceinbox.py b/synapse/storage/databases/main/deviceinbox.py index 79e3862d5f..bab52ab389 100644 --- a/synapse/storage/databases/main/deviceinbox.py +++ b/synapse/storage/databases/main/deviceinbox.py @@ -219,7 +219,7 @@ class DeviceInboxWorkerStore(SQLBaseStore): same device should pass this value as 'from_stream_id'. """ if limit == 0: - return {}, from_stream_id + return [], from_stream_id ( user_id_device_id_to_messages,