mirror of https://github.com/Nofated095/Q2TG.git
fix: 重复撤回
This commit is contained in:
parent
cab4ad23e9
commit
415cba38f5
|
@ -117,6 +117,9 @@ export default class DeleteMessageService {
|
|||
},
|
||||
});
|
||||
if (message) {
|
||||
await db.message.delete({
|
||||
where: { id: message.id },
|
||||
});
|
||||
await pair.tg.deleteMessages(message.tgMsgId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue