Skip to content

Commit

Permalink
Merge pull request matrix-org#3868 from matrix-org/neilj/fix_room_inv…
Browse files Browse the repository at this point in the history
…ite_mail_links

Neilj/fix room invite mail links
  • Loading branch information
neilisfragile authored Sep 20, 2018
2 parents 1f3f5fc + 38ead94 commit 23b53b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/3868.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix broken invite email links for self hosted riots
2 changes: 1 addition & 1 deletion synapse/push/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def make_summary_text(self, notifs_by_room, room_state_ids,

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"
Expand Down

0 comments on commit 23b53b4

Please sign in to comment.