diff options
| author | winter | 2025-03-15 18:35:59 +0000 |
|---|---|---|
| committer | winter | 2025-03-15 18:52:54 +0000 |
| commit | 61b122e88cc6783b4d0cf5142a22002f8e558c60 (patch) | |
| tree | 847b864a93f716157456891d4526077e5f0b93f7 /Digitigrade/Notification | |
| parent | cb904ef3fb05ab106d5e5e12f6273b8117db4216 (diff) | |
implement pages
Diffstat (limited to 'Digitigrade/Notification')
| -rw-r--r-- | Digitigrade/Notification/PendingFollowActionedNotif.php | 2 | ||||
| -rw-r--r-- | Digitigrade/Notification/UnblockNotif.php | 2 | ||||
| -rw-r--r-- | Digitigrade/Notification/UnfollowNotif.php | 2 |
3 files changed, 3 insertions, 3 deletions
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'; |
