Merge pull request 'AT-Protocol: Configurable web frontend' (#1644) from heluecht/friendica-addons:atproto2 into develop

Reviewed-on: friendica/friendica-addons#1644
This commit is contained in:
Philipp Holzer 2026-04-04 08:21:35 +02:00
commit a888947b67

View file

@ -286,12 +286,10 @@ function bluesky_settings(array &$data)
$friendica_handle = [];
}
$web_frontend = [
'' => 'System Default',
ATProtocol::WEB => 'Bluesky',
'https://blacksky.community' => 'Blacksky',
'https://reddwarf.app' => 'Red Dwarf',
];
$web_frontend = ['' => 'System Default'];
foreach (DI::config()->get('atprotocol', 'frontends') as $key => $frontend) {
$web_frontend[$key] = $frontend[0];
}
$t = Renderer::getMarkupTemplate('connector_settings.tpl', 'addon/bluesky/');
$html = Renderer::replaceMacros($t, [