Added function "bb_CleanPictureLinks" ro all connectors

This commit is contained in:
Michael Vogel 2014-03-02 01:42:19 +01:00
parent 80f6f22852
commit 1754b58cd9
6 changed files with 15 additions and 4 deletions

View file

@ -452,6 +452,8 @@ function statusnet_shortenmsg($b, $max_char) {
require_once("include/bbcode.php");
require_once("include/html2plain.php");
$b['body'] = bb_CleanPictureLinks($b['body']);
// Looking for the first image
$cleaned_body = api_clean_plain_items($b['body']);
$image = '';