Preparation to add Bluesky

This commit is contained in:
Michael 2023-05-21 17:19:39 +00:00
parent 1d211bea98
commit 7d4b11b450
4 changed files with 3 additions and 1 deletions

BIN
images/bluesky.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -141,6 +141,7 @@ class ContactSelector
Protocol::ACTIVITYPUB => DI::l10n()->t('ActivityPub'),
Protocol::PNUT => DI::l10n()->t('pnut'),
Protocol::TUMBLR => DI::l10n()->t('Tumblr'),
Protocol::BLUESKY => DI::l10n()->t('Bluesky'),
];
Hook::callAll('network_to_name', $nets);
@ -212,6 +213,7 @@ class ContactSelector
Protocol::ACTIVITYPUB => 'activitypub',
Protocol::PNUT => 'file-text-o', /// @todo
Protocol::TUMBLR => 'tumblr',
Protocol::BLUESKY => 'circle', /// @todo
];
$platform_icons = ['diaspora' => 'diaspora', 'friendica' => 'friendica', 'friendika' => 'friendica',

View 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
{

View File

@ -57,6 +57,7 @@ class Protocol
const TWITTER = 'twit'; // Twitter
const DISCOURSE = 'dscs'; // Discourse
const TUMBLR = 'tmbl'; // Tumblr
const BLUESKY = 'bsky'; // Bluesky
// Dead protocols
const APPNET = 'apdn'; // app.net - Dead protocol