Skip to content

Commit

Permalink
fix: 发现了一个会引起 NPE 的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Nov 8, 2023
1 parent fe69be6 commit 497540b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/SetupController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default class SetupController {
// 登录 tg UserBot
if (this.instance.userSessionId) {
await this.setupService.informOwner('userSessionId 已经存在,跳过');
this.tgUser = await Telegram.connect(this.instance.userSessionId);
}
else
try {
Expand Down

0 comments on commit 497540b

Please sign in to comment.