projects
/
friendica-addons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82376e4
)
Remove media to avoid duplicated images
author
Michael
<heluecht@pirati.ca>
Thu, 9 Mar 2023 20:59:42 +0000
(20:59 +0000)
committer
Michael
<heluecht@pirati.ca>
Thu, 9 Mar 2023 20:59:42 +0000
(20:59 +0000)
tumblr/tumblr.php
patch
|
blob
|
history
diff --git
a/tumblr/tumblr.php
b/tumblr/tumblr.php
index 674d6e9ed6107bc57d46be85cd2c0a97bc3b7d19..41512ff2006b9c10fd1d39715e9a8b6b78f041f0 100644
(file)
--- 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';