mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: 4.1.1
This commit is contained in:
parent
6dc4f38581
commit
55ef7e529e
@ -70,7 +70,7 @@ export class OB11ActiveWebSocketAdapter implements IOB11NetworkAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async tryConnect() {
|
private async tryConnect() {
|
||||||
if (!this.connection && this.isEnable) {
|
if (!this.connection && !this.isEnable) {
|
||||||
let isClosedByError = false;
|
let isClosedByError = false;
|
||||||
|
|
||||||
this.connection = new WebSocket(this.config.url, {
|
this.connection = new WebSocket(this.config.url, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user