mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 18:04:26 +02: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…
Add table
Add a link
Reference in a new issue