]> git.mxchange.org Git - friendica-addons.git/commitdiff
API constant changed
authorMichael <heluecht@pirati.ca>
Sun, 6 Nov 2022 20:03:41 +0000 (20:03 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 6 Nov 2022 20:03:41 +0000 (20:03 +0000)
windowsphonepush/windowsphonepush.php

index 1d0423b22ae6ecd9b50f2b52b74ae465a1d1adfd..0a43f69e2976b1fafcded18c82393b39b63a397b 100644 (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);
                                        }