diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-07-08 07:14:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 07:14:56 -0400 |
commit | ff0680f69d4490d3b0884d97261f5b4f9c1ece1d (patch) | |
tree | f949857d980e9eaaffa4589c31a6a37dc10cf815 /synapse/rest | |
parent | Update the installation docs on apt-transport-https (#7801) (diff) | |
download | synapse-ff0680f69d4490d3b0884d97261f5b4f9c1ece1d.tar.xz |
Stop passing bytes when dumping JSON (#7799)
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/voip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/voip.py b/synapse/rest/client/v1/voip.py index 747d46eac2..50277c6cf6 100644 --- a/synapse/rest/client/v1/voip.py +++ b/synapse/rest/client/v1/voip.py @@ -50,7 +50,7 @@ class VoipRestServlet(RestServlet): # We need to use standard padded base64 encoding here # encode_base64 because we need to add the standard padding to get the # same result as the TURN server. - password = base64.b64encode(mac.digest()) + password = base64.b64encode(mac.digest()).decode("ascii") elif turnUris and turnUsername and turnPassword and userLifetime: username = turnUsername |