bugfix: adding gateway to exceptions only if strict killswitch is enabled

This commit is contained in:
vladimir.kuznetsov 2025-05-15 12:28:02 +08:00
parent b457ef9a3f
commit 24e9f3da2d
5 changed files with 41 additions and 21 deletions

View file

@ -48,7 +48,8 @@ bool ApiSettingsController::getAccountInfo(bool reload)
wait.exec();
}
GatewayController gatewayController(m_settings->getGatewayEndpoint(), m_settings->isDevGatewayEnv(), requestTimeoutMsecs);
GatewayController gatewayController(m_settings->getGatewayEndpoint(), m_settings->isDevGatewayEnv(), requestTimeoutMsecs,
m_settings->isStrictKillSwitchEnabled());
auto processedIndex = m_serversModel->getProcessedServerIndex();
auto serverConfig = m_serversModel->getServerConfig(processedIndex);