diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-10-16 10:50:32 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-10-16 10:50:32 +0100 |
commit | 6296590bf7fb4a8f43755d29ecb8a4819310e25d (patch) | |
tree | a7c6c6f25b48e35b7d3e38d5030e23df260cab80 /synapse/storage | |
parent | Merge pull request #305 from matrix-org/markjh/v2_sync_api (diff) | |
download | synapse-6296590bf7fb4a8f43755d29ecb8a4819310e25d.tar.xz |
Encode the filter JSON as UTF-8 before storing in the database.
Because we are using a binary column type to store the filter JSON.
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/filtering.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/filtering.py b/synapse/storage/filtering.py |