diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-05 18:12:44 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-05 18:12:53 +0100 |
commit | 977338a7afa5e95dba1ce230ba253daf2b239fb5 (patch) | |
tree | e74002bfb6830d154331ec4f726949db99935c39 /synapse/federation/persistence.py | |
parent | Merge pull request #139 from matrix-org/bugs/SYN-369 (diff) | |
download | synapse-977338a7afa5e95dba1ce230ba253daf2b239fb5.tar.xz |
Use buffer(...) when inserting into bytea column
Diffstat (limited to 'synapse/federation/persistence.py')
-rw-r--r-- | synapse/federation/persistence.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/federation/persistence.py b/synapse/federation/persistence.py index 76a9dcd777..865766eb2c 100644 --- a/synapse/federation/persistence.py +++ b/synapse/federation/persistence.py @@ -23,8 +23,6 @@ from twisted.internet import defer from synapse.util.logutils import log_function -from syutil.jsonutil import encode_canonical_json - import logging @@ -71,7 +69,7 @@ class TransactionActions(object): transaction.transaction_id, transaction.origin, code, - encode_canonical_json(response) + response, ) @defer.inlineCallbacks |