mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-12 14:10:03 -05:00
Store json as UTF-8 and not bytes
This commit is contained in:
parent
75085bb4d1
commit
c39beb5559
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
||||||
values={
|
values={
|
||||||
"event_id": event.event_id,
|
"event_id": event.event_id,
|
||||||
"room_id": event.room_id,
|
"room_id": event.room_id,
|
||||||
"json": encode_canonical_json(event_dict),
|
"json": encode_canonical_json(event_dict).decode("UTF-8"),
|
||||||
},
|
},
|
||||||
or_replace=True,
|
or_replace=True,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue