Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-11-07 19:45:34 +0300
committerJoas Schilling <coding@schilljs.com>2018-11-07 19:45:34 +0300
commit83861e53e1b1efe3270fdc5fc2f6d1160299583e (patch)
treed826bb927c62fca965410d4147e5290061230421 /lib/Notification/Notifier.php
parenta0d78426c9e2f110e668a833d6f0c5bf70d0fc90 (diff)
Use short beautiful links for notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification/Notifier.php')
-rw-r--r--lib/Notification/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php
index 17f6ec4b5..7bf1d543c 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -112,7 +112,7 @@ class Notifier implements INotifier {
$notification
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('spreed', 'app-dark.svg')))
- ->setLink($this->url->linkToRouteAbsolute('spreed.Page.index') . '?token=' . $room->getToken());
+ ->setLink($this->url->linkToRouteAbsolute('spreed.pagecontroller.showCall', ['token' => $room->getToken()]));
$subject = $notification->getSubject();
if ($subject === 'invitation') {