Remove media to avoid duplicated images

This commit is contained in:
Michael 2023-03-09 20:59:42 +00:00
parent 82376e4f17
commit 888dec1593

View file

@ -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';