mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +00:00
Sometimes there doesn't seem to be a content, then we don't continue
This commit is contained in:
parent
86077da8e5
commit
3a568a3647
1 changed files with 5 additions and 0 deletions
|
@ -1219,6 +1219,11 @@ function pumpio_dopost(App $a, $client, $uid, $self, $post, $own_id, $threadcomp
|
||||||
$postarray['parent-uri'] = $post->object->inReplyTo->id;
|
$postarray['parent-uri'] = $post->object->inReplyTo->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// When there is no content there is no need to continue
|
||||||
|
if (empty($post->object->content)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($post->object->pump_io->proxyURL)) {
|
if (!empty($post->object->pump_io->proxyURL)) {
|
||||||
$postarray['extid'] = $post->object->pump_io->proxyURL;
|
$postarray['extid'] = $post->object->pump_io->proxyURL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue