This commit is contained in:
手瓜一十雪 2024-09-08 10:30:30 +08:00
parent f7f6e4736a
commit 39f4118577

View File

@ -145,8 +145,10 @@ export class NapCatCore {
if (Info.status == 20) { if (Info.status == 20) {
this.selfInfo.online = false; this.selfInfo.online = false;
this.context.logger.log("账号状态变更为离线"); this.context.logger.log("账号状态变更为离线");
} return;
} else {
this.selfInfo.online = true; this.selfInfo.online = true;
}
}; };
this.context.session.getProfileService().addKernelProfileListener( this.context.session.getProfileService().addKernelProfileListener(
proxiedListenerOf(profileListener, this.context.logger), proxiedListenerOf(profileListener, this.context.logger),