mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 15:11:15 +00:00
fix: 4.1.1
This commit is contained in:
parent
8223c98bf1
commit
7eb6454a31
@ -70,7 +70,7 @@ export class OB11ActiveWebSocketAdapter implements IOB11NetworkAdapter {
|
||||
}
|
||||
|
||||
private async tryConnect() {
|
||||
if (!this.connection && this.isEnable) {
|
||||
if (!this.connection && !this.isEnable) {
|
||||
let isClosedByError = false;
|
||||
|
||||
this.connection = new WebSocket(this.config.url, {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user