]> git.mxchange.org Git - friendica-addons.git/blobdiff - statusnet/statusnet.php
[statusnet] Remove reference to Slinky
[friendica-addons.git] / 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"];
                }