API constant changed #1306

Merged
annando merged 1 commit from mastodon-api into develop 2022-11-07 00:01:47 +01:00

View file

@ -185,7 +185,7 @@ function windowsphonepush_cron()
if (substr($body, 0, 4) == "[url") {
$body = "URL/Image ...";
} else {
$body = BBCode::convertForUriId($item['uri-id'], $body, BBCode::API);
$body = BBCode::convertForUriId($item['uri-id'], $body, BBCode::MASTODON_API);
$body = HTML::toPlaintext($body, 0);
$body = ((strlen($body) > 137) ? substr($body, 0, 137) . "..." : $body);
}