mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-29 11:13:17 +00:00
Twitter+Statusnet: Between message and link there is now a linefeed.
This commit is contained in:
parent
a00464cd98
commit
37940d0070
2 changed files with 2 additions and 2 deletions
|
@ -569,7 +569,7 @@ function statusnet_shortenmsg($b, $max_char) {
|
||||||
while (strpos($msg, " ") !== false)
|
while (strpos($msg, " ") !== false)
|
||||||
$msg = str_replace(" ", " ", $msg);
|
$msg = str_replace(" ", " ", $msg);
|
||||||
|
|
||||||
return(array("msg"=>trim($msg." ".$msglink), "image"=>$image));
|
return(array("msg"=>trim($msg."\n".$msglink), "image"=>$image));
|
||||||
}
|
}
|
||||||
|
|
||||||
function statusnet_post_hook(&$a,&$b) {
|
function statusnet_post_hook(&$a,&$b) {
|
||||||
|
|
|
@ -452,7 +452,7 @@ function twitter_shortenmsg($b) {
|
||||||
$msg = str_replace(" ", " ", $msg);
|
$msg = str_replace(" ", " ", $msg);
|
||||||
|
|
||||||
//return(trim($msg." ".$msglink));
|
//return(trim($msg." ".$msglink));
|
||||||
return(trim($msg." ".$orig_link));
|
return(trim($msg."\n".$orig_link));
|
||||||
}
|
}
|
||||||
|
|
||||||
function twitter_post_hook(&$a,&$b) {
|
function twitter_post_hook(&$a,&$b) {
|
||||||
|
|
Loading…
Reference in a new issue