mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 03:48:49 +00:00
Removed notices that still had been creeping around ...
This commit is contained in:
parent
28b699573c
commit
564235debd
3 changed files with 13 additions and 5 deletions
|
@ -1203,7 +1203,10 @@ function pumpio_dopost(App $a, $client, $uid, $self, $post, $own_id, $threadcomp
|
|||
$reply->cc = $post->cc;
|
||||
}
|
||||
|
||||
$reply->to = $post->to;
|
||||
if (isset($post->to)) {
|
||||
$reply->to = $post->to;
|
||||
}
|
||||
|
||||
$reply->object = new stdClass;
|
||||
$reply->object->objectType = $post->object->inReplyTo->objectType;
|
||||
$reply->object->content = $post->object->inReplyTo->content;
|
||||
|
@ -1271,10 +1274,15 @@ function pumpio_dopost(App $a, $client, $uid, $self, $post, $own_id, $threadcomp
|
|||
$share_author = $post->object->author->url;
|
||||
}
|
||||
|
||||
if (isset($post->object->created)) {
|
||||
$created = DateTimeFormat::utc($post->object->created);
|
||||
} else {
|
||||
$created = '';
|
||||
}
|
||||
|
||||
$postarray['body'] = share_header($share_author, $post->object->author->url,
|
||||
$post->object->author->image->url, "",
|
||||
DateTimeFormat::utc($post->object->created),
|
||||
$post->links->self->href).
|
||||
$created, $post->links->self->href).
|
||||
$postarray['body']."[/share]";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue