mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 12:08:32 +03:00
fix sytests
This commit is contained in:
parent
516f960ad8
commit
a2374b2c7f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue