From ea8cf6edcf663aef333ccf2b3d49dadc0e1e0952 Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Tue, 2 Aug 2022 15:23:52 +0200 Subject: [PATCH] Type mistake --- synapse/storage/databases/main/deviceinbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,