mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 03:44:59 -05:00
fix sytests
This commit is contained in:
parent
516f960ad8
commit
a2374b2c7f
@ -438,7 +438,7 @@ class RoomMessageListRestServlet(ClientV1RestServlet):
|
|||||||
as_client_event = "raw" not in request.args
|
as_client_event = "raw" not in request.args
|
||||||
filter_bytes = parse_string(request, "filter")
|
filter_bytes = parse_string(request, "filter")
|
||||||
if filter_bytes:
|
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))
|
event_filter = Filter(json.loads(filter_json))
|
||||||
else:
|
else:
|
||||||
event_filter = None
|
event_filter = None
|
||||||
|
Loading…
Reference in New Issue
Block a user