aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/note_fragment.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/note_fragment.php')
-rw-r--r--routes/note_fragment.php2
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;