mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-09-21 13:54:34 -04:00
fix matrix.to URLs
This commit is contained in:
parent
0466454b00
commit
782471b7e1
1 changed files with 2 additions and 2 deletions
|
@ -375,7 +375,7 @@ class Mailer(object):
|
||||||
if self.app_name == "Vector":
|
if self.app_name == "Vector":
|
||||||
return "https://vector.im/beta/#/room/%s" % (room_id,)
|
return "https://vector.im/beta/#/room/%s" % (room_id,)
|
||||||
else:
|
else:
|
||||||
return "https://matrix.to/#/room/%s" % (room_id,)
|
return "https://matrix.to/#/%s" % (room_id,)
|
||||||
|
|
||||||
def make_notif_link(self, notif):
|
def make_notif_link(self, notif):
|
||||||
# need /beta for Universal Links to work on iOS
|
# need /beta for Universal Links to work on iOS
|
||||||
|
@ -384,7 +384,7 @@ class Mailer(object):
|
||||||
notif['room_id'], notif['event_id']
|
notif['room_id'], notif['event_id']
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return "https://matrix.to/#/room/%s/%s" % (
|
return "https://matrix.to/#/%s/%s" % (
|
||||||
notif['room_id'], notif['event_id']
|
notif['room_id'], notif['event_id']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue