New BBCode constant for Bluesky

This commit is contained in:
Michael 2023-06-05 04:31:19 +00:00
parent fc600b2dbf
commit b5a1f13d7c
2 changed files with 6 additions and 1 deletions

View file

@ -137,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) {