summary refs log tree commit diff
path: root/synapse/federation/persistence.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-05-05 18:30:35 +0100
committerMark Haines <mjark@negativecurvature.net>2015-05-05 18:30:35 +0100
commitecb26beda5582df286d5d21a91013b9cdb730e07 (patch)
treeadffd54138cb4d537edb45f2d715e26a391edb76 /synapse/federation/persistence.py
parentUse buffer(...) when inserting into bytea column (diff)
parentAnd use buffer(...) there as well (diff)
downloadsynapse-ecb26beda5582df286d5d21a91013b9cdb730e07.tar.xz
Merge pull request #137 from matrix-org/erikj/executemany
executemany support
Diffstat (limited to 'synapse/federation/persistence.py')
-rw-r--r--synapse/federation/persistence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/persistence.py b/synapse/federation/persistence.py
index 865766eb2c..1a7cc02f92 100644
--- a/synapse/federation/persistence.py
+++ b/synapse/federation/persistence.py
@@ -99,5 +99,5 @@ class TransactionActions(object):
             transaction.transaction_id,
             transaction.destination,
             response_code,
-            encode_canonical_json(response_dict)
+            response_dict,
         )