mirror of https://github.com/Nofated095/Q2TG.git
fix missing tgUser function
This commit is contained in:
parent
bcf63336dd
commit
32d1575f12
|
@ -137,8 +137,7 @@ export default class SetupController {
|
|||
}
|
||||
// 登录 tg UserBot
|
||||
if (this.instance.userSessionId) {
|
||||
await this.setupService.informOwner('userSessionId 已经存在,跳过');
|
||||
this.tgUser = await Telegram.connect(this.instance.userSessionId);
|
||||
await this.setupService.informOwner(`UserBot 创建被跳过`);
|
||||
}
|
||||
else {
|
||||
await this.setupService.informOwner(`UserBot 创建被跳过`);
|
||||
|
|
Loading…
Reference in New Issue