mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:03:41 +00:00
[statusnet] Remove reference to Slinky
This commit is contained in:
parent
48935de469
commit
cb2c9f836f
1 changed files with 1 additions and 6 deletions
|
@ -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"];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue