From 7ffd587819e6d8bc3685930a587546d93ab6c4a9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 29 Mar 2026 13:31:47 +0000 Subject: [PATCH] AT-Protocol: Configurable web frontend --- bluesky/bluesky.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bluesky/bluesky.php b/bluesky/bluesky.php index 4a26106c..7bd5db0d 100644 --- a/bluesky/bluesky.php +++ b/bluesky/bluesky.php @@ -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, [