diff options
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/federation/transport.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/transport.py b/synapse/federation/transport.py index 95c40c6c1b..b72d7b24df 100644 --- a/synapse/federation/transport.py +++ b/synapse/federation/transport.py @@ -428,7 +428,8 @@ class TransportLayer(object): self._with_authentication( lambda origin, content, query, query_type: handler.on_query_request( - query_type, {k: v[0] for k, v in query.items()} + query_type, + {k: v[0].decode("utf-8") for k, v in query.items()} ) ) ) |