Fix Likes on postman

This commit is contained in:
Diogo Cordeiro
2018-08-01 00:39:03 +01:00
parent e4a65130f8
commit be1aadcd4c
2 changed files with 3 additions and 3 deletions

View File

@@ -164,8 +164,8 @@ class Activitypub_postman
{
$data = Activitypub_like::like_to_array(
ActivityPubPlugin::actor_uri($this->actor),
Activitypub_notice::notice_to_array($notice)
);
$notice->getUrl()
);
$data = json_encode($data);
foreach ($this->to_inbox() as $inbox) {