mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
fix link for case that config.email_riot_base_url is set
This commit is contained in:
parent
7c27c4d51c
commit
7de1989ea2
@ -441,7 +441,7 @@ class Mailer(object):
|
|||||||
|
|
||||||
def make_room_link(self, room_id):
|
def make_room_link(self, room_id):
|
||||||
if self.hs.config.email_riot_base_url:
|
if self.hs.config.email_riot_base_url:
|
||||||
base_url = self.hs.config.email_riot_base_url
|
base_url = "%s/#/room" % (self.hs.config.email_riot_base_url)
|
||||||
elif self.app_name == "Vector":
|
elif self.app_name == "Vector":
|
||||||
# need /beta for Universal Links to work on iOS
|
# need /beta for Universal Links to work on iOS
|
||||||
base_url = "https://vector.im/beta/#/room"
|
base_url = "https://vector.im/beta/#/room"
|
||||||
|
Loading…
Reference in New Issue
Block a user