Facebook sync #159

Merged
annando merged 14 commits from master into master 2013-10-28 07:50:54 +01:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit b4dc70b48a - Show all commits

Binary file not shown.

View file

@ -1080,14 +1080,17 @@ function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcomplet
}
}
$reply = new stdClass;
$reply->verb = "note";
$reply->cc = $post->cc;
$reply->to = $post->to;
$reply->object = new stdClass;
$reply->object->objectType = $post->object->inReplyTo->objectType;
$reply->object->content = $post->object->inReplyTo->content;
$reply->object->id = $post->object->inReplyTo->id;
$reply->actor = $post->object->inReplyTo->author;
$reply->url = $post->object->inReplyTo->url;
$reply->generator = new stdClass;
$reply->generator->displayName = "pumpio";
$reply->published = $post->object->inReplyTo->published;
$reply->received = $post->object->inReplyTo->updated;