summary refs log tree commit diff
path: root/synapse/storage/transactions.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-20 10:57:08 +0000
committerErik Johnston <erik@matrix.org>2015-03-20 10:57:26 +0000
commitd4f50f3ae5a23886eb271ad8cee92d5fb5aae8b0 (patch)
treee98af8bcd0fd9716db54a706f7dd61f10570ac61 /synapse/storage/transactions.py
parentMake database selection configurable (diff)
downloadsynapse-d4f50f3ae5a23886eb271ad8cee92d5fb5aae8b0.tar.xz
decode_result takes an iterable
Diffstat (limited to '')
-rw-r--r--synapse/storage/transactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py
index b5ed5453d8..92eec69ef4 100644
--- a/synapse/storage/transactions.py
+++ b/synapse/storage/transactions.py
@@ -122,7 +122,7 @@ class TransactionStore(SQLBaseStore):
             )
 
         txn.execute(query, (destination,))
-        results = SentTransactions.decode_results(txn)
+        results = SentTransactions.decode_results(txn.fetchall())
 
         prev_txns = [r.transaction_id for r in results]