summaryrefslogtreecommitdiff
path: root/actions/postnotice.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/postnotice.php')
-rw-r--r--actions/postnotice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/postnotice.php b/actions/postnotice.php
index 718ebdab0..d83ceb971 100644
--- a/actions/postnotice.php
+++ b/actions/postnotice.php
@@ -78,6 +78,7 @@ class PostnoticeAction extends Action {
$notice->profile_id = $remote_profile->id;
$notice->uri = $notice_uri;
$notice->content = $content;
+ $notice->rendered = common_render_content($notice->content, $notice);
if ($notice_url) {
$notice->url = $notice_url;
}
@@ -87,6 +88,7 @@ class PostnoticeAction extends Action {
common_server_error(_t('Error inserting notice'), 500);
return false;
}
+ common_save_replies($notice);
common_broadcast_notice($notice, true);
}
return true;