mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-16 14:33:53 +00:00
Remove media to avoid duplicated images
This commit is contained in:
parent
82376e4f17
commit
888dec1593
1 changed files with 1 additions and 0 deletions
|
@ -359,6 +359,7 @@ function tumblr_send(array &$b)
|
||||||
];
|
];
|
||||||
|
|
||||||
$body = BBCode::removeShareInformation($b['body']);
|
$body = BBCode::removeShareInformation($b['body']);
|
||||||
|
$body = Post\Media::removeFromEndOfBody($body);
|
||||||
|
|
||||||
if ($photo !== false) {
|
if ($photo !== false) {
|
||||||
$params['type'] = 'photo';
|
$params['type'] = 'photo';
|
||||||
|
|
Loading…
Reference in a new issue