From 48e87af3f803d1b5c10f8b6297d95d10d13a8689 Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Mon, 30 Mar 2026 23:14:48 -0700 Subject: [PATCH] feat: wire buildSources into loadServerSettings startup After fetching /api/settings and caching in _serverSettings, call _sources = buildSources(_serverSettings) so the polling layer immediately knows which sources to query. Implements task-6 of multi-device federation phase 1. --- muxplex/frontend/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/muxplex/frontend/app.js b/muxplex/frontend/app.js index 459c4bf..2b3635b 100644 --- a/muxplex/frontend/app.js +++ b/muxplex/frontend/app.js @@ -1027,6 +1027,7 @@ async function loadServerSettings() { console.warn('[loadServerSettings] failed:', err); if (!_serverSettings) _serverSettings = {}; } + _sources = buildSources(_serverSettings); return _serverSettings; }