summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-09-13 22:43:50 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-09-13 22:43:50 +0100
commit7de1989ea2809c13b67be6c4990b269d817fae44 (patch)
treedda5f6d7f59d2c4daee5f39db9408531cb6a8230
parentmerge (#3576) (diff)
downloadsynapse-7de1989ea2809c13b67be6c4990b269d817fae44.tar.xz
fix link for case that config.email_riot_base_url is set
-rw-r--r--synapse/push/mailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py
index b78ce10396..1a5a10d974 100644
--- a/synapse/push/mailer.py
+++ b/synapse/push/mailer.py
@@ -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"