mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:34:51 -04:00
Don't double json encode typing replication data
This commit is contained in:
parent
f10ce8944b
commit
96b9b6c127
2 changed files with 2 additions and 6 deletions
|
@ -62,7 +62,6 @@ import sys
|
|||
import logging
|
||||
import contextlib
|
||||
import gc
|
||||
import ujson as json
|
||||
|
||||
logger = logging.getLogger("synapse.app.synchrotron")
|
||||
|
||||
|
@ -215,9 +214,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