mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-03-01 16:20:25 +00:00
fix: 修复大部分逻辑
This commit is contained in:
@@ -616,7 +616,7 @@ export class NapCatOneBot11Adapter {
|
||||
} else if (ob11Msg.stringMsg.message.length === 0 || ob11Msg.arrayMsg.message.length == 0) {
|
||||
return;
|
||||
}
|
||||
const notreportSelf_network = network.flat().filter((e) => e.enable && !e.reportSelfMessage);
|
||||
const notreportSelf_network = network.flat().filter((e) => e.enable && (('reportSelfMessage' in e && !e.reportSelfMessage) || !('reportSelfMessage' in e)));
|
||||
if (isSelfMsg) {
|
||||
for (const adapter of notreportSelf_network) {
|
||||
msgMap.delete(adapter.name);
|
||||
|
||||
Reference in New Issue
Block a user