summary refs log tree commit diff
path: root/synapse/api/urls.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-10-02 14:39:30 +0100
committerErik Johnston <erik@matrix.org>2018-10-02 14:39:30 +0100
commit7fa156af8061397f425f23c159b5ef12bf20f830 (patch)
treed1ee85a8436de10c828e7394c1f1afee978ae952 /synapse/api/urls.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentMerge pull request #3960 from matrix-org/rav/fix_missing_create_event_error (diff)
downloadsynapse-7fa156af8061397f425f23c159b5ef12bf20f830.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/urls.py')
-rw-r--r--synapse/api/urls.py2
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" % (