From cb2c9f836f3fbf724b27395f1d4d0c3f11783011 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 30 Jan 2018 23:42:42 -0500 Subject: [PATCH] [statusnet] Remove reference to Slinky --- statusnet/statusnet.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 7ef171f7..d4d74f49 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -557,12 +557,7 @@ function statusnet_post_hook(App $a, &$b) $image = ""; if (isset($msgarr["url"]) && ($msgarr["type"] != "photo")) { - if ((strlen($msgarr["url"]) > 20) && - ((strlen($msg . " \n" . $msgarr["url"]) > $max_char))) { - $msg .= " \n" . Network::shortenUrl($msgarr["url"]); - } else { - $msg .= " \n" . $msgarr["url"]; - } + $msg .= " \n" . $msgarr["url"]; } elseif (isset($msgarr["image"]) && ($msgarr["type"] != "video")) { $image = $msgarr["image"]; } -- 2.39.2