Skip to content

Commit

Permalink
patch(delete tgUser function)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nofated095 committed Feb 17, 2024
1 parent 7a3ddc4 commit 134a21b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controllers/MiraiSkipFilterController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { GroupMessageEvent, MiraiElem, PrivateMessageEvent } from 'icqq';
export default class {
constructor(private readonly instance: Instance,
private readonly tgBot: Telegram,
private readonly tgUser: Telegram,
// private readonly tgUser: Telegram,
private readonly qqBot: OicqClient) {
qqBot.addNewMessageEventHandler(this.onQqMessage);
}
Expand Down
4 changes: 2 additions & 2 deletions src/models/Pair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ const log = getLogger('ForwardPair');
export class Pair {
// 群成员的 tg 账号对应它对应的 QQ 账号获取到的 Group 对象
// 只有群组模式有效
public readonly instanceMapForTg = {} as { [tgUserId: string]: Group };
// public readonly instanceMapForTg = {} as { [tgUserId: string]: Group };

constructor(
public readonly qq: Friend | Group,
private _tg: TelegramChat,
public readonly tgUser: TelegramChat,
// public readonly tgUser: TelegramChat,
public dbId: number,
private _flags: number,
) {
Expand Down

0 comments on commit 134a21b

Please sign in to comment.