diff options
| author | winter | 2025-03-20 22:32:18 +0000 |
|---|---|---|
| committer | winter | 2025-03-20 22:32:18 +0000 |
| commit | 9828bc9f61ac6fb679599303eedc8cba46be4fae (patch) | |
| tree | 66a33ead820cc23edd7c254e7739979e506c9873 /Digitigrade | |
| parent | b5c4e99cb1a2e5bb5cf6d38192d677843b1acd80 (diff) | |
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
Diffstat (limited to 'Digitigrade')
| -rw-r--r-- | Digitigrade/Model/Note.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
