🐛 Try to fix

This commit is contained in:
lixiang810 2022-10-18 15:06:44 +08:00
parent 9b15340ebe
commit 2864d1db8f
No known key found for this signature in database
GPG Key ID: 100C8FEC03AA777E
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}