diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-06-08 08:30:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 08:30:48 -0400 |
commit | 9e4610cc272fc8e5db39608de83ce48360889e42 (patch) | |
tree | 33158a167c6f8f4b558b110c669bec7670295557 /synapse/rest/admin/rooms.py | |
parent | Name release branches just after major.minor (#10013) (diff) | |
download | synapse-9e4610cc272fc8e5db39608de83ce48360889e42.tar.xz |
Correct type hints for parse_string(s)_from_args. (#10137)
Diffstat (limited to 'synapse/rest/admin/rooms.py')
-rw-r--r-- | synapse/rest/admin/rooms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin/rooms.py b/synapse/rest/admin/rooms.py index f289ffe3d0..f0cddd2d2c 100644 --- a/synapse/rest/admin/rooms.py +++ b/synapse/rest/admin/rooms.py @@ -649,7 +649,7 @@ class RoomEventContextServlet(RestServlet): limit = parse_integer(request, "limit", default=10) # picking the API shape for symmetry with /messages - filter_str = parse_string(request, b"filter", encoding="utf-8") + filter_str = parse_string(request, "filter", encoding="utf-8") if filter_str: filter_json = urlparse.unquote(filter_str) event_filter = Filter( |