testing
This commit is contained in:
parent
5c630c39a0
commit
6943eee623
@ -144,7 +144,7 @@ ToSelector::fillActivity($this, $act, $options);
|
|||||||
|
|
||||||
$actobj = new ActivityObject();
|
$actobj = new ActivityObject();
|
||||||
$actobj->type = ActivityObject::NOTE;
|
$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
|
// Finally add the activity object to our activity
|
||||||
$act->objects[] = $actobj;
|
$act->objects[] = $actobj;
|
||||||
|
@ -82,7 +82,7 @@ class Activitypub_notice extends Managed_DataObject
|
|||||||
'cc' => common_local_url('apActorFollowers', ['id' => $profile->getID()]),
|
'cc' => common_local_url('apActorFollowers', ['id' => $profile->getID()]),
|
||||||
'atomUri' => $notice->getUrl(),
|
'atomUri' => $notice->getUrl(),
|
||||||
'conversation' => $notice->getConversationUrl(),
|
'conversation' => $notice->getConversationUrl(),
|
||||||
'content' => $notice->getContent(),
|
'content' => $notice->getRendered(),
|
||||||
'isLocal' => $notice->isLocal(),
|
'isLocal' => $notice->isLocal(),
|
||||||
'attachment' => $attachments,
|
'attachment' => $attachments,
|
||||||
'tag' => $tags
|
'tag' => $tags
|
||||||
|
Reference in New Issue
Block a user