mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00:00
Added function "bb_CleanPictureLinks" ro all connectors
This commit is contained in:
parent
80f6f22852
commit
1754b58cd9
6 changed files with 15 additions and 4 deletions
|
@ -378,6 +378,8 @@ function twitter_shortenmsg($b, $shortlink = false) {
|
|||
|
||||
$max_char = 140;
|
||||
|
||||
$b['body'] = bb_CleanPictureLinks($b['body']);
|
||||
|
||||
// Looking for the first image
|
||||
$cleaned_body = api_clean_plain_items($b['body']);
|
||||
$image = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue