summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-14 17:09:28 +0100
committerErik Johnston <erik@matrix.org>2014-08-14 17:09:28 +0100
commit78b501eba68f93c91f53ddf179ebde32f511894f (patch)
treed99e0e93f4d97f06b0c0b8f31dcb62e4b1871763 /synapse/storage/__init__.py
parentRename _execute_query (diff)
downloadsynapse-78b501eba68f93c91f53ddf179ebde32f511894f.tar.xz
Fix typo
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
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):