]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Text/Plaintext.php
Merge pull request #13368 from MrPetovan/bug/13367-post-plink
[friendica.git] / src / Content / Text / Plaintext.php
index 4ea4849fe7c19d6330cd783b5765365f64059c52..86d720a02a4e33f85a4c3616ec053924d5ec45d6 100644 (file)
@@ -26,7 +26,6 @@ use Friendica\DI;
 use Friendica\Model\Photo;
 use Friendica\Model\Post;
 use Friendica\Util\Network;
-use Friendica\Util\Strings;
 
 class Plaintext
 {
@@ -138,6 +137,10 @@ class Plaintext
                                $abstract = BBCode::getAbstract($item['body'], Protocol::STATUSNET);
                                break;
 
+                       case BBCode::BLUESKY:
+                               $abstract = BBCode::getAbstract($item['body'], Protocol::BLUESKY);
+                               break;
+       
                        default: // We don't know the exact target.
                                // We fetch an abstract since there is a posting limit.
                                if ($limit > 0) {