diff --git a/web/clitools/getinstinfo.php b/web/clitools/getinstinfo.php index f87f0cf..4ba4afa 100755 --- a/web/clitools/getinstinfo.php +++ b/web/clitools/getinstinfo.php @@ -821,9 +821,9 @@ if ($opts['sendtoot'] && $instanswered && $idata['IsMastodon'] && $idata['FirstS $toot.=N.N.'Long description: '; (is_null($idata['LongDesc'])) ? $toot.='unspecified' : $toot.=html2text($idata['LongDesc']); if (postlen($toot)>$iniarr['botmaxchars']) { - while (postlen($toot)+2>$iniarr['botmaxchars']) + while (postlen($toot)+13>$iniarr['botmaxchars']) $toot=preg_replace('#\s+(\S|\n)+$#u','',$toot); - $toot.=' …'; + $toot.=' [continues…]'; } $context=[ 'http'=>[