Support for simple shortening

This commit is contained in:
Michael 2021-07-12 14:10:38 +00:00
parent 57be32257b
commit ee2a97fa5c
2 changed files with 2 additions and 2 deletions

View file

@ -583,7 +583,7 @@ function statusnet_post_hook(App $a, &$b)
$msg = $msgarr["text"];
if (($msg == "") && isset($msgarr["title"]))
$msg = Plaintext::shorten($msgarr["title"], $max_char - 50);
$msg = Plaintext::shorten($msgarr["title"], $max_char - 50, $b['uid']);
$image = "";