Skip to content
Snippets Groups Projects
Unverified Commit a2374b2c authored by Amber Brown's avatar Amber Brown Committed by GitHub
Browse files

fix sytests

parent 516f960a
No related branches found
No related tags found
No related merge requests found
......@@ -438,7 +438,7 @@ class RoomMessageListRestServlet(ClientV1RestServlet):
as_client_event = "raw" not in request.args
filter_bytes = parse_string(request, "filter")
if filter_bytes:
filter_json = urlparse.unquote(filter_bytes[-1]).decode("UTF-8")
filter_json = urlparse.unquote(filter_bytes).decode("UTF-8")
event_filter = Filter(json.loads(filter_json))
else:
event_filter = None
......
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