mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 02:03:51 +01:00
And use buffer(...) there as well
This commit is contained in:
parent
ed2584050f
commit
0cf7e480b4
2 changed files with 3 additions and 2 deletions
|
@ -99,5 +99,5 @@ class TransactionActions(object):
|
|||
transaction.transaction_id,
|
||||
transaction.destination,
|
||||
response_code,
|
||||
encode_canonical_json(response_dict)
|
||||
response_dict,
|
||||
)
|
||||
|
|
|
@ -162,7 +162,8 @@ class TransactionStore(SQLBaseStore):
|
|||
return self.runInteraction(
|
||||
"delivered_txn",
|
||||
self._delivered_txn,
|
||||
transaction_id, destination, code, response_dict
|
||||
transaction_id, destination, code,
|
||||
buffer(encode_canonical_json(response_dict)),
|
||||
)
|
||||
|
||||
def _delivered_txn(self, txn, transaction_id, destination,
|
||||
|
|
Loading…
Reference in a new issue