mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 11:36:03 +03:00
Merge pull request #3868 from matrix-org/neilj/fix_room_invite_mail_links
Neilj/fix room invite mail links
This commit is contained in:
commit
23b53b4ef8
2 changed files with 2 additions and 1 deletions
1
changelog.d/3868.bugfix
Normal file
1
changelog.d/3868.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix broken invite email links for self hosted riots
|
|
@ -441,7 +441,7 @@ class Mailer(object):
|
|||
|
||||
def make_room_link(self, room_id):
|
||||
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":
|
||||
# need /beta for Universal Links to work on iOS
|
||||
base_url = "https://vector.im/beta/#/room"
|
||||
|
|
Loading…
Reference in a new issue