Matrix double slash in URL for API call fixed (#411)

pull/419/head
Miroslav Šedivý 3 years ago committed by GitHub
parent ab6b6b51c7
commit 45d5ec1f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -283,7 +283,7 @@ class NotifyMatrix(NotifyBase):
default_port = 443 if self.secure else 80
# Prepare our URL
url = '{schema}://{hostname}:{port}/{webhook_path}/{token}'.format(
url = '{schema}://{hostname}:{port}{webhook_path}/{token}'.format(
schema='https' if self.secure else 'http',
hostname=self.host,
port='' if self.port is None

Loading…
Cancel
Save