diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-10-01 17:16:20 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-10-01 17:16:20 +0100 |
commit | 5908a8f6f5abd4fb08cf0c43e7ee51175d9bf7ac (patch) | |
tree | 212df92ddefaf749db59c2e431d768184540de19 /synapse/api/urls.py | |
parent | changelog (diff) | |
parent | Update instructions to point to pip install (#3985) (diff) | |
download | synapse-5908a8f6f5abd4fb08cf0c43e7ee51175d9bf7ac.tar.xz |
Merge branch 'develop' into rav/fix_missing_create_event_error
Diffstat (limited to 'synapse/api/urls.py')
-rw-r--r-- | synapse/api/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/urls.py b/synapse/api/urls.py index 71347912f1..6d9f1ca0ef 100644 --- a/synapse/api/urls.py +++ b/synapse/api/urls.py @@ -64,7 +64,7 @@ class ConsentURIBuilder(object): """ mac = hmac.new( key=self._hmac_secret, - msg=user_id, + msg=user_id.encode('ascii'), digestmod=sha256, ).hexdigest() consent_uri = "%s_matrix/consent?%s" % ( |