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:
@@ -191,7 +191,10 @@ class WebhookController extends Controller {
|
||||
|
||||
$this->talkService->saveConfig($config);
|
||||
|
||||
return new DataResponse(['status' => 'ok']);
|
||||
return new DataResponse([
|
||||
'status' => 'ok',
|
||||
'auth_tokens' => $this->talkService->getAuthTokens(),
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user