diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-10 15:59:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 15:59:35 +0100 |
commit | 329eae9cda8c57b00ce5aeba5ac12356a8ae9775 (patch) | |
tree | 810580232ad1fbb8943dbb37870978d44b62ddbe /synapse/storage/pusher.py | |
parent | Merge pull request #6191 from matrix-org/rav/fix_packaging (diff) | |
parent | Fix postgres unit tests (diff) | |
download | synapse-329eae9cda8c57b00ce5aeba5ac12356a8ae9775.tar.xz |
Merge pull request #6186 from matrix-org/erikj/disable_sql_bytes
Disable bytes usage with postgres
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r-- | synapse/storage/pusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py index 3e0e834a62..b12e80440a 100644 --- a/synapse/storage/pusher.py +++ b/synapse/storage/pusher.py @@ -241,7 +241,7 @@ class PusherStore(PusherWorkerStore): "device_display_name": device_display_name, "ts": pushkey_ts, "lang": lang, - "data": encode_canonical_json(data), + "data": bytearray(encode_canonical_json(data)), "last_stream_ordering": last_stream_ordering, "profile_tag": profile_tag, "id": stream_id, |