diff options
author | Half-Shot <will@half-shot.uk> | 2019-12-04 15:55:31 +0000 |
---|---|---|
committer | Half-Shot <will@half-shot.uk> | 2019-12-04 15:55:31 +0000 |
commit | b296915ad02443e6569b275d8285b47fc51fdf83 (patch) | |
tree | fe17661f56488b3588ff252c434b7eb90fc6d938 | |
parent | s/user_id/key (diff) | |
download | synapse-hs/synapse-as-v1-endpoints.tar.xz |
Remove leading / from prefix github/hs/synapse-as-v1-endpoints hs/synapse-as-v1-endpoints
-rw-r--r-- | synapse/appservice/api.py | 3 |
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): |