From 78536f774cacece20c22c1b26a7c4840d9e10794 Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 27 Jan 2025 20:34:41 +0000 Subject: allow changing scope of replies --- routes/note_fragment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes') 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; -- cgit v1.3