diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-12 20:41:31 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 20:41:31 +1000 |
commit | 02aa41809bd48cc1dd02da3634f02f5eae71b41c (patch) | |
tree | 71cd7d6ae4983d2cff2f2f25fa82b088d746871b /synapse/rest/client/v2_alpha/sync.py | |
parent | Port crypto/ to Python 3 (#3822) (diff) | |
download | synapse-02aa41809bd48cc1dd02da3634f02f5eae71b41c.tar.xz |
Port rest/ to Python 3 (#3823)
Diffstat (limited to 'synapse/rest/client/v2_alpha/sync.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index 263d8eb73e..0251146722 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -89,7 +89,7 @@ class SyncRestServlet(RestServlet): @defer.inlineCallbacks def on_GET(self, request): - if "from" in request.args: + if b"from" in request.args: # /events used to use 'from', but /sync uses 'since'. # Lets be helpful and whine if we see a 'from'. raise SynapseError( |