Try serializing as json rather than msgpack

erikj/paginate_sync
Erik Johnston 2016-06-27 11:24:58 +01:00
parent c0b2f33dc2
commit 3263e12d73
2 changed files with 2 additions and 4 deletions

View File

@ -924,9 +924,7 @@ class SyncHandler(object):
tags=pagination_config.tags,
)
to_sync_map = {
key: value for key, value in cutoff_list
}
to_sync_map = {key: value for key, value in cutoff_list}
else:
to_sync_map = {}

View File

@ -18,7 +18,7 @@ from synapse.api.errors import SynapseError
from collections import namedtuple
from unpaddedbase64 import encode_base64, decode_base64
import msgpack
import ujson as msgpack
Requester = namedtuple("Requester", ["user", "access_token_id", "is_guest"])