From 3a568a36476eaba49f4610b1c81642fb9a3ff4b5 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 11 Aug 2018 18:05:06 +0000 Subject: [PATCH] Sometimes there doesn't seem to be a content, then we don't continue --- pumpio/pumpio.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index f2fe7d85..b60b0c97 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -1219,6 +1219,11 @@ function pumpio_dopost(App $a, $client, $uid, $self, $post, $own_id, $threadcomp $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)) { $postarray['extid'] = $post->object->pump_io->proxyURL; }