mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 02:09:21 -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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user