mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 16:36:03 -04:00
Merge pull request #2103 from matrix-org/erikj/no-double-encode
Don't double encode replication data
This commit is contained in:
commit
98ce212093
5 changed files with 88 additions and 47 deletions
|
@ -62,7 +62,6 @@ import sys
|
|||
import logging
|
||||
import contextlib
|
||||
import gc
|
||||
import ujson as json
|
||||
|
||||
logger = logging.getLogger("synapse.app.synchrotron")
|
||||
|
||||
|
@ -254,9 +253,8 @@ class SynchrotronTyping(object):
|
|||
self._latest_room_serial = token
|
||||
|
||||
for row in rows:
|
||||
typing = json.loads(row.user_ids)
|
||||
self._room_serials[row.room_id] = token
|
||||
self._room_typing[row.room_id] = typing
|
||||
self._room_typing[row.room_id] = row.user_ids
|
||||
|
||||
|
||||
class SynchrotronApplicationService(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue