diff options
| author | winter | 2025-01-20 18:22:52 +0000 |
|---|---|---|
| committer | winter | 2025-01-20 18:22:52 +0000 |
| commit | 51558fce51a9204c31abd1f7243df2b63fb20a5e (patch) | |
| tree | ab63f9d2922e9c1bcbee80b80019c32cc52902e1 /Digitigrade | |
| parent | b8e259f75dfa52584d7483313b0c6814867d2330 (diff) | |
default avatar in reply notifs. oops
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 cf84ee0..017cd3e 100644 --- a/Digitigrade/Model/Note.php +++ b/Digitigrade/Model/Note.php @@ -207,7 +207,7 @@ class Note extends PushableModel implements TimelineIncludeable, Notifyable { return $this->plainContent; } public function getNotificationImageUrl(): ?string { - return $this->author->avatar; + return $this->author->avatar ?? '/static/default-avatar.png'; } public function getNotificationImageLink(): ?string { return '/@/' . $this->author->getFullHandle(); |
