Skip to content

Commit

Permalink
fix missing tgUser function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nofated095 committed Nov 24, 2023
1 parent bcf6333 commit 32d1575
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controllers/SetupController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 创建被跳过`);
Expand Down

0 comments on commit 32d1575

Please sign in to comment.