From: Michael Date: Sun, 21 May 2023 17:19:39 +0000 (+0000) Subject: Preparation to add Bluesky X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7d4b11b4508ede6a8154513a15408cf8327fd5c5;p=friendica.git Preparation to add Bluesky --- diff --git a/images/bluesky.jpg b/images/bluesky.jpg new file mode 100644 index 0000000000..35020ac770 Binary files /dev/null and b/images/bluesky.jpg differ diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index d9f475e2e7..9a8af1cd24 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -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', diff --git a/src/Content/Text/Plaintext.php b/src/Content/Text/Plaintext.php index 4ea4849fe7..b297f75b36 100644 --- a/src/Content/Text/Plaintext.php +++ b/src/Content/Text/Plaintext.php @@ -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 { diff --git a/src/Core/Protocol.php b/src/Core/Protocol.php index 9776848757..4effa8d74b 100644 --- a/src/Core/Protocol.php +++ b/src/Core/Protocol.php @@ -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