summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-07-14 07:52:58 +1000
committerGitHub <noreply@github.com>2018-07-14 07:52:58 +1000
commita2374b2c7ff7753ecc02906fcbe1b2fb20e0d0fb (patch)
tree3288f7d8cedd3d557bf50f2dd81cd8155347dc7c /synapse
parentadd changelog (diff)
downloadsynapse-a2374b2c7ff7753ecc02906fcbe1b2fb20e0d0fb.tar.xz
fix sytests
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v1/room.py2
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