mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Return highlight_count in /sync
This commit is contained in:
parent
47e7963e50
commit
3adcc4c86a
3 changed files with 40 additions and 8 deletions
|
@ -17,7 +17,7 @@ from ._base import SQLBaseStore
|
|||
from twisted.internet import defer
|
||||
|
||||
import logging
|
||||
import simplejson as json
|
||||
import ujson as json
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -84,7 +84,8 @@ class EventPushActionsStore(SQLBaseStore):
|
|||
)
|
||||
)
|
||||
return [
|
||||
{"event_id": row[0], "actions": row[1]} for row in txn.fetchall()
|
||||
{"event_id": row[0], "actions": json.loads(row[1])}
|
||||
for row in txn.fetchall()
|
||||
]
|
||||
|
||||
ret = yield self.runInteraction(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue