diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-07-14 07:52:58 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-14 07:52:58 +1000 |
commit | a2374b2c7ff7753ecc02906fcbe1b2fb20e0d0fb (patch) | |
tree | 3288f7d8cedd3d557bf50f2dd81cd8155347dc7c /synapse/rest | |
parent | add changelog (diff) | |
download | synapse-a2374b2c7ff7753ecc02906fcbe1b2fb20e0d0fb.tar.xz |
fix sytests
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py index 5a867b4cf2..3d62447854 100644 --- a/synapse/rest/client/v1/room.py +++ b/synapse/rest/client/v1/room.py @@ -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 |