This commit is contained in:
Diogo Cordeiro 2018-08-01 01:09:34 +01:00
parent 5c630c39a0
commit 6943eee623
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ ToSelector::fillActivity($this, $act, $options);
$actobj = new ActivityObject();
$actobj->type = ActivityObject::NOTE;
$actobj->content = common_render_content($content, $actor_profile, $inReplyTo);
$actobj->content = $content; //common_render_content($content, $actor_profile, $inReplyTo);
// Finally add the activity object to our activity
$act->objects[] = $actobj;

View File

@ -82,7 +82,7 @@ class Activitypub_notice extends Managed_DataObject
'cc' => common_local_url('apActorFollowers', ['id' => $profile->getID()]),
'atomUri' => $notice->getUrl(),
'conversation' => $notice->getConversationUrl(),
'content' => $notice->getContent(),
'content' => $notice->getRendered(),
'isLocal' => $notice->isLocal(),
'attachment' => $attachments,
'tag' => $tags