diff options
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'; |
