summary refs log tree commit diff
path: root/synapse/rest/client/v1/initial_sync.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-12 20:41:31 +1000
committerGitHub <noreply@github.com>2018-09-12 20:41:31 +1000
commit02aa41809bd48cc1dd02da3634f02f5eae71b41c (patch)
tree71cd7d6ae4983d2cff2f2f25fa82b088d746871b /synapse/rest/client/v1/initial_sync.py
parentPort crypto/ to Python 3 (#3822) (diff)
downloadsynapse-02aa41809bd48cc1dd02da3634f02f5eae71b41c.tar.xz
Port rest/ to Python 3 (#3823)
Diffstat (limited to 'synapse/rest/client/v1/initial_sync.py')
-rw-r--r--synapse/rest/client/v1/initial_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/initial_sync.py b/synapse/rest/client/v1/initial_sync.py
index fd5f85b53e..3ead75cb77 100644
--- a/synapse/rest/client/v1/initial_sync.py
+++ b/synapse/rest/client/v1/initial_sync.py
@@ -32,7 +32,7 @@ class InitialSyncRestServlet(ClientV1RestServlet):
     @defer.inlineCallbacks
     def on_GET(self, request):
         requester = yield self.auth.get_user_by_req(request)
-        as_client_event = "raw" not in request.args
+        as_client_event = b"raw" not in request.args
         pagination_config = PaginationConfig.from_request(request)
         include_archived = parse_boolean(request, "archived", default=False)
         content = yield self.initial_sync_handler.snapshot_all_rooms(