1
0

Type mistake

This commit is contained in:
Mathieu Velten
2022-08-02 15:23:52 +02:00
parent 5de1f166f9
commit ea8cf6edcf

View File

@@ -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,