Remove media to avoid duplicated images

pull/1361/head
Michael 2023-03-09 20:59:42 +00:00
parent 82376e4f17
commit 888dec1593
1 changed files with 1 additions and 0 deletions

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