aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/Notification
diff options
context:
space:
mode:
authorwinter2025-03-15 18:35:59 +0000
committerwinter2025-03-15 18:52:54 +0000
commit61b122e88cc6783b4d0cf5142a22002f8e558c60 (patch)
tree847b864a93f716157456891d4526077e5f0b93f7 /Digitigrade/Notification
parentcb904ef3fb05ab106d5e5e12f6273b8117db4216 (diff)
implement pages
Diffstat (limited to 'Digitigrade/Notification')
-rw-r--r--Digitigrade/Notification/PendingFollowActionedNotif.php2
-rw-r--r--Digitigrade/Notification/UnblockNotif.php2
-rw-r--r--Digitigrade/Notification/UnfollowNotif.php2
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';