Skip to content
Snippets Groups Projects
Commit 524b708f authored by Erik Johnston's avatar Erik Johnston
Browse files

Merge pull request #311 from matrix-org/markjh/postgres_fixes

Fix FilteringStore.get_user_filter to work with postgres
parents e5acc8a4 fc012aa8
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ class FilteringStore(SQLBaseStore):
desc="get_user_filter",
)
defer.returnValue(json.loads(def_json.decode("utf-8")))
defer.returnValue(json.loads(str(def_json).decode("utf-8")))
def add_user_filter(self, user_localpart, user_filter):
def_json = json.dumps(user_filter).encode("utf-8")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment