修复尝试撤回其他人消息的bug

This commit is contained in:
lanyi 2021-01-04 05:07:18 +01:00
parent 7c4df6ed8e
commit 8ec16eb16e

View File

@ -222,11 +222,8 @@ async function app() {
const releaseMutex = await mutex.acquire()
try {
for (const group of groups) {
if (group.group === event.group.id) {
continue
}
const matched = group.stored.translate(event.messageId)
if (!matched) {
if (!matched || matched.isOriginal) {
continue
}
try {