Sometimes there doesn't seem to be a content, then we don't continue
This commit is contained in:
parent
86077da8e5
commit
3a568a3647
|
@ -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…
Reference in a new issue