From: Michael Date: Thu, 9 Mar 2023 20:59:42 +0000 (+0000) Subject: Remove media to avoid duplicated images X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=888dec1593ab5206bd3053298152f1e0e6783ee3;p=friendica-addons.git Remove media to avoid duplicated images --- diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index 674d6e9e..41512ff2 100644 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -359,6 +359,7 @@ function tumblr_send(array &$b) ]; $body = BBCode::removeShareInformation($b['body']); + $body = Post\Media::removeFromEndOfBody($body); if ($photo !== false) { $params['type'] = 'photo';