mirror of https://github.com/Nofated095/Q2TG.git
patch(delete tgUser function)
This commit is contained in:
parent
7a3ddc4309
commit
134a21b279
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue