diff options
author | Matthew Hodgson <matthew@matrix.org> | 2016-05-13 17:49:53 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2016-05-13 17:50:16 +0100 |
commit | 782471b7e110165697fd3de19739802852cc2a91 (patch) | |
tree | 2471e6d9b93b2010e0fe35a76060ec917c9cbe25 /synapse | |
parent | Assert that stream replicated stream positions are ints (diff) | |
download | synapse-782471b7e110165697fd3de19739802852cc2a91.tar.xz |
fix matrix.to URLs
Diffstat (limited to '')
-rw-r--r-- | synapse/push/mailer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index 2be294f52e..2fd38a036a 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -375,7 +375,7 @@ class Mailer(object): if self.app_name == "Vector": return "https://vector.im/beta/#/room/%s" % (room_id,) else: - return "https://matrix.to/#/room/%s" % (room_id,) + return "https://matrix.to/#/%s" % (room_id,) def make_notif_link(self, notif): # need /beta for Universal Links to work on iOS @@ -384,7 +384,7 @@ class Mailer(object): notif['room_id'], notif['event_id'] ) else: - return "https://matrix.to/#/room/%s/%s" % ( + return "https://matrix.to/#/%s/%s" % ( notif['room_id'], notif['event_id'] ) |