mirror of
https://github.com/friendica/friendica
synced 2024-12-22 20:00:16 +00:00
Preparation to add Bluesky
This commit is contained in:
parent
1d211bea98
commit
7d4b11b450
4 changed files with 3 additions and 1 deletions
BIN
images/bluesky.jpg
Normal file
BIN
images/bluesky.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
|
@ -141,6 +141,7 @@ class ContactSelector
|
||||||
Protocol::ACTIVITYPUB => DI::l10n()->t('ActivityPub'),
|
Protocol::ACTIVITYPUB => DI::l10n()->t('ActivityPub'),
|
||||||
Protocol::PNUT => DI::l10n()->t('pnut'),
|
Protocol::PNUT => DI::l10n()->t('pnut'),
|
||||||
Protocol::TUMBLR => DI::l10n()->t('Tumblr'),
|
Protocol::TUMBLR => DI::l10n()->t('Tumblr'),
|
||||||
|
Protocol::BLUESKY => DI::l10n()->t('Bluesky'),
|
||||||
];
|
];
|
||||||
|
|
||||||
Hook::callAll('network_to_name', $nets);
|
Hook::callAll('network_to_name', $nets);
|
||||||
|
@ -212,6 +213,7 @@ class ContactSelector
|
||||||
Protocol::ACTIVITYPUB => 'activitypub',
|
Protocol::ACTIVITYPUB => 'activitypub',
|
||||||
Protocol::PNUT => 'file-text-o', /// @todo
|
Protocol::PNUT => 'file-text-o', /// @todo
|
||||||
Protocol::TUMBLR => 'tumblr',
|
Protocol::TUMBLR => 'tumblr',
|
||||||
|
Protocol::BLUESKY => 'circle', /// @todo
|
||||||
];
|
];
|
||||||
|
|
||||||
$platform_icons = ['diaspora' => 'diaspora', 'friendica' => 'friendica', 'friendika' => 'friendica',
|
$platform_icons = ['diaspora' => 'diaspora', 'friendica' => 'friendica', 'friendika' => 'friendica',
|
||||||
|
|
|
@ -26,7 +26,6 @@ use Friendica\DI;
|
||||||
use Friendica\Model\Photo;
|
use Friendica\Model\Photo;
|
||||||
use Friendica\Model\Post;
|
use Friendica\Model\Post;
|
||||||
use Friendica\Util\Network;
|
use Friendica\Util\Network;
|
||||||
use Friendica\Util\Strings;
|
|
||||||
|
|
||||||
class Plaintext
|
class Plaintext
|
||||||
{
|
{
|
||||||
|
|
|
@ -57,6 +57,7 @@ class Protocol
|
||||||
const TWITTER = 'twit'; // Twitter
|
const TWITTER = 'twit'; // Twitter
|
||||||
const DISCOURSE = 'dscs'; // Discourse
|
const DISCOURSE = 'dscs'; // Discourse
|
||||||
const TUMBLR = 'tmbl'; // Tumblr
|
const TUMBLR = 'tmbl'; // Tumblr
|
||||||
|
const BLUESKY = 'bsky'; // Bluesky
|
||||||
|
|
||||||
// Dead protocols
|
// Dead protocols
|
||||||
const APPNET = 'apdn'; // app.net - Dead protocol
|
const APPNET = 'apdn'; // app.net - Dead protocol
|
||||||
|
|
Loading…
Reference in a new issue