mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 19:43:42 +00:00
API constant changed
This commit is contained in:
parent
b84d05b602
commit
623b6ceecc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue