mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
fbpost: Posting to groups enabled
twitter/statusnet: Bug fixed where messages were shortened too much.
This commit is contained in:
parent
84c8c4f002
commit
50c33d8dc2
3 changed files with 18 additions and 6 deletions
|
@ -354,7 +354,7 @@ function twitter_shortenmsg($b) {
|
|||
$msg = substr($msg, 0, -1);
|
||||
$pos = strrpos($msg, "\n");
|
||||
if ($pos > 0)
|
||||
$msg = substr($msg, 0, $pos-1);
|
||||
$msg = substr($msg, 0, $pos);
|
||||
else if ($lastchar != "\n")
|
||||
$msg = substr($msg, 0, -3)."...";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue