mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Settings: allow disabling websocket
This commit is contained in:
@@ -522,6 +522,10 @@ void WindowManager::onTorSettingsChanged() {
|
||||
}
|
||||
|
||||
void WindowManager::initWS() {
|
||||
if (config()->get(Config::disableWebsocket).toBool()) {
|
||||
return;
|
||||
}
|
||||
|
||||
websocketNotifier()->websocketClient.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user