feat(config): support disabling rooms and sync auth tokens

- Add support for `disabled_rooms` to remove rooms from active configuration
- Sync auth tokens from server to client to prevent state drift
- Enable `allow_local_address` for Talk API requests
- Update settings page to fetch configured rooms instead of available ones
This commit is contained in:
kyle
2026-06-12 11:47:16 -07:00
parent 5b521afec1
commit 4d0bb40120
4 changed files with 37 additions and 9 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class Admin implements ISettings {
$params = [
'hasBotPassword' => $this->talkService->hasBotPassword(),
'retentionDays' => $this->talkService->getRetentionDays(),
'rooms' => $this->talkService->getAvailableTalkRooms(),
'rooms' => $this->talkService->getRooms(),
'authTokens' => $this->talkService->getAuthTokens(),
'configuredRooms' => $this->talkService->getRooms(),
'serverUrl' => $this->talkService->getBaseUrl(),