summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index e80c03031..ac630eed0 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -58,8 +58,10 @@ class NewnoticeAction extends Action {
$cmd->execute(new WebChannel());
return;
}
+
+ $replyto = $this->trimmed('inreplyto');
- $notice = Notice::saveNew($user->id, $content, 'web');
+ $notice = Notice::saveNew($user->id, $content, 'web', $replyto);
if (is_string($notice)) {
$this->show_form($notice);