diff options
| author | winter | 2025-01-27 20:34:41 +0000 |
|---|---|---|
| committer | winter | 2025-01-27 20:34:41 +0000 |
| commit | 78536f774cacece20c22c1b26a7c4840d9e10794 (patch) | |
| tree | 8cc1c4de353f91948b725e996bf16c7fb359bc26 /routes | |
| parent | df201664df01d5b4ada6b992235f236511ec020f (diff) | |
allow changing scope of replies
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/note_fragment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/note_fragment.php b/routes/note_fragment.php index 5c6326d..143697f 100644 --- a/routes/note_fragment.php +++ b/routes/note_fragment.php @@ -69,7 +69,7 @@ Router::getInstance()->mount('/fragment/note/:id/reply', function (array $args) trim($_POST['content']), 'unk', $summary, - $note->privacy->scope + NotePrivacyScope::from($_POST['scope']) ); $reply->inReplyTo = $note; $reply->threadApex = $note->threadApex ?? $note; |
