mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
fix
This commit is contained in:
parent
64fdf62c4b
commit
35cc643440
@ -251,10 +251,8 @@ export class NapCatOneBot11Adapter {
|
|||||||
.catch(e => this.context.logger.logError('处理消息失败', e));
|
.catch(e => this.context.logger.logError('处理消息失败', e));
|
||||||
|
|
||||||
for (const msg of msgList.filter(e => e.senderUin == this.core.selfInfo.uin)) {
|
for (const msg of msgList.filter(e => e.senderUin == this.core.selfInfo.uin)) {
|
||||||
// console.log(msg);
|
if (msg.sendStatus == 2 && !msgIdSend.get(msg.msgId)) {
|
||||||
if (!!msgIdSend.get(msg.msgId)) continue;
|
|
||||||
msgIdSend.put(msg.msgId, true);
|
msgIdSend.put(msg.msgId, true);
|
||||||
if (msg.sendStatus == 2) {
|
|
||||||
// 完成后再post
|
// 完成后再post
|
||||||
OB11Constructor.message(this.core, msg, this.configLoader.configData.messagePostFormat)
|
OB11Constructor.message(this.core, msg, this.configLoader.configData.messagePostFormat)
|
||||||
.then((ob11Msg) => {
|
.then((ob11Msg) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user