* Author: Michael Vogel <http://pirati.ca/profile/heluecht>
*/
-use Friendica\App;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
use Friendica\Core\Addon;
$uri = $orig_post['uri'];
}
+ $objectType = '';
+
if (($orig_post['object-type'] != '') && (strstr($orig_post['object-type'], ActivityNamespace::ACTIVITY_SCHEMA))) {
$objectType = str_replace(ActivityNamespace::ACTIVITY_SCHEMA, '', $orig_post['object-type']);
} elseif (strstr($uri, '/api/comment/')) {
}
$contactid = 0;
+ $contact = [];
if (Strings::compareLink($post->actor->url, $own_id)) {
$contactid = $self['id'];
Logger::notice('pumpio_fetchallcomments: fetching comment for user ' . $uid . ', URL ' . $url);
+ $item = new \stdClass();
+
if (pumpio_reachable($url)) {
$success = $client->CallAPI($url, 'GET', [], ['FailOnAccessError' => true], $item);
} else {