From 61b122e88cc6783b4d0cf5142a22002f8e558c60 Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 15 Mar 2025 18:35:59 +0000 Subject: implement pages --- Digitigrade/Notification/PendingFollowActionedNotif.php | 2 +- Digitigrade/Notification/UnblockNotif.php | 2 +- Digitigrade/Notification/UnfollowNotif.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Digitigrade/Notification') diff --git a/Digitigrade/Notification/PendingFollowActionedNotif.php b/Digitigrade/Notification/PendingFollowActionedNotif.php index 6ab36ee..080fd45 100644 --- a/Digitigrade/Notification/PendingFollowActionedNotif.php +++ b/Digitigrade/Notification/PendingFollowActionedNotif.php @@ -32,7 +32,7 @@ class PendingFollowActionedNotif implements Notifyable { return sprintf(__("notifications.follow.$this->action"), $this->subject->displayName); } public function getNotificationTitleLink(): ?string { - return '/@/' . $this->subject->getFullHandle(); + return $this->subject->getLocalUiHref(); } public function getNotificationImageUrl(): ?string { return $this->subject->avatar ?? '/static/default-avatar.png'; diff --git a/Digitigrade/Notification/UnblockNotif.php b/Digitigrade/Notification/UnblockNotif.php index 7f7ac64..708064d 100644 --- a/Digitigrade/Notification/UnblockNotif.php +++ b/Digitigrade/Notification/UnblockNotif.php @@ -29,7 +29,7 @@ class UnblockNotif implements Notifyable { return sprintf(__('notifications.unblock'), $this->subject->displayName); } public function getNotificationTitleLink(): ?string { - return '/@/' . $this->subject->getFullHandle(); + return $this->subject->getLocalUiHref(); } public function getNotificationImageUrl(): ?string { return $this->subject->avatar ?? '/static/default-avatar.png'; diff --git a/Digitigrade/Notification/UnfollowNotif.php b/Digitigrade/Notification/UnfollowNotif.php index e00c342..a131dab 100644 --- a/Digitigrade/Notification/UnfollowNotif.php +++ b/Digitigrade/Notification/UnfollowNotif.php @@ -29,7 +29,7 @@ class UnfollowNotif implements Notifyable { return sprintf(__('notifications.follow.removed'), $this->subject->displayName); } public function getNotificationTitleLink(): ?string { - return '/@/' . $this->subject->getFullHandle(); + return $this->subject->getLocalUiHref(); } public function getNotificationImageUrl(): ?string { return $this->subject->avatar ?? '/static/default-avatar.png'; -- cgit v1.3