mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
fix: hide disabled relay and report password errors
This commit is contained in:
1 parent
aef1f68875
commit
6d7976e5d8
5 files changed
+12
-33
No files matched your search
@@ -145,10 +145,6 @@ export class AdminService {
|
||||
};
|
||||
}
|
||||
|
||||
hasAccelerationRelaySettings(): boolean {
|
||||
return this.database.getSettings().relayConfigured;
|
||||
}
|
||||
|
||||
getAccelerationRelayOptions(): AccelerationRelayOptions | undefined {
|
||||
const settings = this.database.getSettings();
|
||||
if (!settings.relayConfigured || !settings.relayEnabled || !settings.relayHost || !settings.relayTokenEncrypted) return undefined;
|
||||
|
||||
Reference in new issue
Block a user