diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 75d93f7111..afdd75f46d 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -121,7 +121,7 @@ class DataStore(RoomDataStore, RoomMemberStore, MessageStore, RoomStore, results = yield self._execute_and_decode(sql, *args) - defer.returnValue( + defer.returnValue([self._parse_event_from_row(r) for r in results]) def schema_path(schema):