diff options
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r-- | actions/newnotice.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php index 0045d6c74..a7a3f8362 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -94,6 +94,13 @@ class NewnoticeAction extends Action { function show_form($msg=NULL) { $content = $this->trimmed('status_textarea'); + if (!$content) { + $replyto = $this->trimmed('replyto'); + $profile = Profile::staticGet('nickname', $replyto); + if ($profile) { + $content = "@$profile "; + } + } common_show_header(_t('New notice'), NULL, $content, array($this, 'show_top')); if ($msg) { |