summary refs log tree commit diff
diff options
context:
space:
mode:
authorHalf-Shot <will@half-shot.uk>2019-12-04 11:36:35 +0000
committerHalf-Shot <will@half-shot.uk>2019-12-04 11:36:35 +0000
commit8b2aa8decf4293af124d21ea9cc1677c909d22fb (patch)
tree543e9e0cc384aa6822b85c126c856998f427428b
parentTidy up (diff)
downloadsynapse-8b2aa8decf4293af124d21ea9cc1677c909d22fb.tar.xz
s/user_id/key
-rw-r--r--synapse/appservice/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index 5db07fa432..b798943ba5 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -81,7 +81,7 @@ def _is_valid_3pe_result(r, field):
 
 
 def _build_as_uri(service, endpoint_name, key):
-    key = urllib.parse.quote(user_id)
+    key = urllib.parse.quote(key)
     return os.path.join(service.url, APP_SERVICE_PREFIX, endpoint_name, key)