[statusnet] Remove reference to Slinky

pull/514/head
Hypolite Petovan 2018-01-30 23:42:42 -05:00
parent 48935de469
commit cb2c9f836f
1 changed files with 1 additions and 6 deletions

View File

@ -557,12 +557,7 @@ function statusnet_post_hook(App $a, &$b)
$image = ""; $image = "";
if (isset($msgarr["url"]) && ($msgarr["type"] != "photo")) { if (isset($msgarr["url"]) && ($msgarr["type"] != "photo")) {
if ((strlen($msgarr["url"]) > 20) && $msg .= " \n" . $msgarr["url"];
((strlen($msg . " \n" . $msgarr["url"]) > $max_char))) {
$msg .= " \n" . Network::shortenUrl($msgarr["url"]);
} else {
$msg .= " \n" . $msgarr["url"];
}
} elseif (isset($msgarr["image"]) && ($msgarr["type"] != "video")) { } elseif (isset($msgarr["image"]) && ($msgarr["type"] != "video")) {
$image = $msgarr["image"]; $image = $msgarr["image"];
} }