diff options
| author | winter | 2025-03-16 00:53:52 +0000 |
|---|---|---|
| committer | winter | 2025-03-16 00:53:52 +0000 |
| commit | 145b5db9474e32ca3430fe35eaa7498d7f26ff95 (patch) | |
| tree | df1da516a05cd382e19a815d4e7e6bee314e3007 /routes/note_fragment.php | |
| parent | a0a86c3a98a6af158ecd2f1923feb752c82907db (diff) | |
implement poking and such
Diffstat (limited to 'routes/note_fragment.php')
| -rw-r--r-- | routes/note_fragment.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/routes/note_fragment.php b/routes/note_fragment.php index 907260d..3d30a7a 100644 --- a/routes/note_fragment.php +++ b/routes/note_fragment.php @@ -142,10 +142,7 @@ Router::getInstance()->mount('/fragment/note/:id/edit', function (array $args) { $note->publish(); if ($user->actor != $note->author) { - Notification::fromNotifyable( - new AdminEditedNoteNotif($user, $note), - UserAccount::findByLinkedActor($note->author) - )->send(); + (new AdminEditedNoteNotif($user, $note))->processNotifications(); } render_template('note/note', ['note' => $note]); |
