From 9828bc9f61ac6fb679599303eedc8cba46be4fae Mon Sep 17 00:00:00 2001 From: winter Date: Thu, 20 Mar 2025 22:32:18 +0000 Subject: fix a couple of ui regressions write note form submit button wasn't being disabled properly. and note notification titles were linking to the actor instead of the note itself --- Digitigrade/Model/Note.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Digitigrade/Model') diff --git a/Digitigrade/Model/Note.php b/Digitigrade/Model/Note.php index c39b7c3..9a7aa4c 100644 --- a/Digitigrade/Model/Note.php +++ b/Digitigrade/Model/Note.php @@ -372,7 +372,7 @@ class Note extends PushableModel implements TimelineIncludeable, Notifyable { return sprintf(__("notifications.$action.title"), $this->author->displayName); } public function getNotificationTitleLink(): ?string { - return $this->author->getLocalUiHref(); + return $this->getLocalUiHref(); } public function getNotificationBody(): ?string { return isset($this->summary) ? "[$this->summary]" : $this->plainContent; -- cgit v1.3