]> git.mxchange.org Git - friendica-addons.git/commitdiff
[statusnet] Remove reference to Slinky
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 31 Jan 2018 04:42:42 +0000 (23:42 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 31 Jan 2018 04:42:42 +0000 (23:42 -0500)
statusnet/statusnet.php

index 7ef171f75f4825d5147ed20375946e00c9800c79..d4d74f4980513d13285123adfc7ea9c1bfa63e8e 100644 (file)
@@ -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"];
                }