mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 17:56:19 +03:00
Remove leading / from prefix
This commit is contained in:
parent
8b2aa8decf
commit
b296915ad0
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
import logging
|
import logging
|
||||||
import os.path
|
import os.path
|
||||||
|
import urllib.parse
|
||||||
|
|
||||||
from six.moves import urllib
|
from six.moves import urllib
|
||||||
|
|
||||||
|
@ -47,7 +48,7 @@ sent_events_counter = Counter(
|
||||||
)
|
)
|
||||||
|
|
||||||
HOUR_IN_MS = 60 * 60 * 1000
|
HOUR_IN_MS = 60 * 60 * 1000
|
||||||
APP_SERVICE_PREFIX = "/_matrix/app/v1"
|
APP_SERVICE_PREFIX = "_matrix/app/v1"
|
||||||
|
|
||||||
|
|
||||||
def _is_valid_3pe_metadata(info):
|
def _is_valid_3pe_metadata(info):
|
||||||
|
|
Loading…
Reference in a new issue