https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48935de
)
[statusnet] Remove reference to Slinky
author
Hypolite Petovan
<mrpetovan@gmail.com>
Wed, 31 Jan 2018 04:42:42 +0000
(23:42 -0500)
committer
Hypolite Petovan
<mrpetovan@gmail.com>
Wed, 31 Jan 2018 04:42:42 +0000
(23:42 -0500)
statusnet/statusnet.php
patch
|
blob
|
history
diff --git
a/statusnet/statusnet.php
b/statusnet/statusnet.php
index
7ef171f
..
d4d74f4
100644
(file)
--- 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"];
}