mirror of https://github.com/Nofated095/Q2TG.git
🐛 Try to fix
This commit is contained in:
parent
9b15340ebe
commit
2864d1db8f
|
@ -26,7 +26,7 @@ export default class ForwardPairs {
|
|||
const qq = oicq.getChat(Number(i.qqRoomId));
|
||||
const tg = await tgBot.getChat(Number(i.tgChatId));
|
||||
if (qq && tg) {
|
||||
this.pairs.push(new Pair(qq, tg, i.id, i.joinNotice, i.poke, i.enable));
|
||||
this.pairs.push(new Pair(qq, tg, i.id, i.joinNotice, i.poke, i.enable, i.disableQ2TG, i.disableTG2Q));
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
|
@ -49,7 +49,7 @@ export default class ForwardPairs {
|
|||
instanceId: this.instanceId,
|
||||
},
|
||||
});
|
||||
this.pairs.push(new Pair(qq, tg, dbEntry.id, true, true, true));
|
||||
this.pairs.push(new Pair(qq, tg, dbEntry.id, true, true, true, false, false));
|
||||
return dbEntry;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue