From 623b6ceecc5ca6706327599ac2a4384dc123178a Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 6 Nov 2022 20:03:41 +0000 Subject: [PATCH] API constant changed --- windowsphonepush/windowsphonepush.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5