forked from MirrorHub/synapse
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/search
This commit is contained in:
commit
12122bfc36
1 changed files with 2 additions and 2 deletions
|
@ -34,10 +34,10 @@ class FilteringStore(SQLBaseStore):
|
|||
desc="get_user_filter",
|
||||
)
|
||||
|
||||
defer.returnValue(json.loads(def_json))
|
||||
defer.returnValue(json.loads(def_json.decode("utf-8")))
|
||||
|
||||
def add_user_filter(self, user_localpart, user_filter):
|
||||
def_json = json.dumps(user_filter)
|
||||
def_json = json.dumps(user_filter).encode("utf-8")
|
||||
|
||||
# Need an atomic transaction to SELECT the maximal ID so far then
|
||||
# INSERT a new one
|
||||
|
|
Loading…
Reference in a new issue