From 7d4b11b4508ede6a8154513a15408cf8327fd5c5 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 21 May 2023 17:19:39 +0000 Subject: [PATCH] Preparation to add Bluesky --- images/bluesky.jpg | Bin 0 -> 5070 bytes src/Content/ContactSelector.php | 2 ++ src/Content/Text/Plaintext.php | 1 - src/Core/Protocol.php | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 images/bluesky.jpg diff --git a/images/bluesky.jpg b/images/bluesky.jpg new file mode 100644 index 0000000000000000000000000000000000000000..35020ac7702c32bbdc96c7881e455848d3ef9dc5 GIT binary patch literal 5070 zcmeHKXIN9&7QHD*QvvDdKnw!vKnh3;gp8on2_SW7QbK^x0tuK<1VsfwagZViN*O@9 zjC4_og6M#SGQt2u6%kSCRZ89sI{3c#=Er>R?_=F_&)xT)z4tk5o%3T~)*q~4fZtHp zKo@{O06-tS0M-cb@+6bu1^`4Na1;OlE?^gA9{>X_2zUVy34mkE1^_F_{%!j-cI0lb{Z{-jI z?XpbBxA`-n+xdRTgnhF?KR^+qsEEU2z=pu6;}o$tB~_3Q_ir8n0e(0%+Lw-UcBQ(I zQ6#Dln(6F^#-cE2K$F1qb0&F_0}w7`cZx3_IsKpkiJ-XRk=DvY4AD=A>_O2FrjgBq zjV(yQULF z8KDBQ!yv(EnyVYm?1b*uSnv&x{JKa6gMnfwp{O)>G*(?*9gR^$D=I309t!jz-vDQ( zf-hbAuM8*1bP|o?7eJxOQl&*sor?x-)%Dz4Jv{D zDh1oz)>I3zgB=BS6xdN?;!U0F2PgIoJfBm#q-y*xTLl3 zJrXwSm^q~6LW|($5fK#=mynT_JACBmF=Z81HFccMiIci|`UZyP7M51lKiSxlT*+?k z9u!Y{K;Rh$Gbs4N#Y>Sqc;2#Q{)d%c`LBPWV695RnXOpD|8+SvEHBItEQ7aDl2DvsA zGv&Jlg|<~~X;%_Q^_}Cs>(CPnEpCf)heL%zhf;fz8MU!Z4wIt$222jhyuI0{=Mr+m z#h}Q#M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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