From: Michael Vogel Date: Sun, 27 Jul 2014 14:06:18 +0000 (+0200) Subject: appnet: Now more links are removed, if they are used in the attached data X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b41f6581b56d4bc762f59cfed5deab77d1fe894;p=friendica-addons.git appnet: Now more links are removed, if they are used in the attached data --- diff --git a/appnet/appnet.php b/appnet/appnet.php index b74e29ff..db3422e4 100644 --- a/appnet/appnet.php +++ b/appnet/appnet.php @@ -975,6 +975,9 @@ function appnet_createpost($a, $uid, $post, $me, $user, $ownid, $createuser, $th if (($removedlink == "") OR strstr($postarray['body'], $removedlink)) $postarray['body'] = $removedlink; + if (($removedlink == "") OR strstr("[url]".$postarray['body']."[/url]", $removedlink)) + $postarray['body'] = $removedlink; + $page_info = add_page_info($link, false, $photo["url"]); }