mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
build: 180test
This commit is contained in:
parent
31c1cc47bf
commit
ef8e60c405
@ -34,7 +34,7 @@ class DeleteMsg extends BaseAction<Payload, void> {
|
|||||||
1,
|
1,
|
||||||
5000,
|
5000,
|
||||||
(msgs) => {
|
(msgs) => {
|
||||||
if (msgs.some(m => m.msgId === msg.MsgId)) {
|
if (msgs.find(m => m.msgId === msg.MsgId && m.recallTime !== '0')) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@ -45,7 +45,6 @@ class DeleteMsg extends BaseAction<Payload, void> {
|
|||||||
if (!data) {
|
if (!data) {
|
||||||
throw new Error('Recall failed');
|
throw new Error('Recall failed');
|
||||||
}
|
}
|
||||||
|
|
||||||
//await sleep(100);
|
//await sleep(100);
|
||||||
//await NTQQMsgApi.getMsgsByMsgId(msg.Peer, [msg.MsgId]);
|
//await NTQQMsgApi.getMsgsByMsgId(msg.Peer, [msg.MsgId]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user