From: Michael Date: Sun, 6 Nov 2022 20:03:41 +0000 (+0000) Subject: API constant changed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=623b6ceecc5ca6706327599ac2a4384dc123178a;p=friendica-addons.git API constant changed --- diff --git a/windowsphonepush/windowsphonepush.php b/windowsphonepush/windowsphonepush.php index 1d0423b2..0a43f69e 100644 --- a/windowsphonepush/windowsphonepush.php +++ b/windowsphonepush/windowsphonepush.php @@ -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); }