summary refs log tree commit diff
diff options
context:
space:
mode:
authorHalf-Shot <will@half-shot.uk>2019-12-04 15:55:31 +0000
committerHalf-Shot <will@half-shot.uk>2019-12-04 15:55:31 +0000
commitb296915ad02443e6569b275d8285b47fc51fdf83 (patch)
treefe17661f56488b3588ff252c434b7eb90fc6d938
parents/user_id/key (diff)
downloadsynapse-github/hs/synapse-as-v1-endpoints.tar.xz
-rw-r--r--synapse/appservice/api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index b798943ba5..238f139398 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -14,6 +14,7 @@
 # limitations under the License.
 import logging
 import os.path
+import urllib.parse
 
 from six.moves import urllib
 
@@ -47,7 +48,7 @@ sent_events_counter = Counter(
 )
 
 HOUR_IN_MS = 60 * 60 * 1000
-APP_SERVICE_PREFIX = "/_matrix/app/v1"
+APP_SERVICE_PREFIX = "_matrix/app/v1"
 
 
 def _is_valid_3pe_metadata(info):