Twitter/Statusnet: Use "RD" and "RT" for repeated messages.

This commit is contained in:
Michael Vogel 2014-07-09 23:35:28 +02:00
parent 9177ee2ecb
commit c3538fb538
2 changed files with 4 additions and 4 deletions

View file

@ -464,7 +464,7 @@ function twitter_post_hook(&$a,&$b) {
$max_char = 140;
require_once("include/plaintext.php");
$msgarr = plaintext($a, $b, $max_char, true);
$msgarr = plaintext($a, $b, $max_char, true, 8);
$msg = $msgarr["text"];
if (($msg == "") AND isset($msgarr["title"]))
@ -680,7 +680,7 @@ function twitter_prepare_body(&$a,&$b) {
}
$msgarr = plaintext($a, $item, $max_char, true);
$msgarr = plaintext($a, $item, $max_char, true, 8);
$msg = $msgarr["text"];
if (isset($msgarr["url"]))