修复尝试撤回其他人消息的bug
This commit is contained in:
parent
7c4df6ed8e
commit
8ec16eb16e
5
index.ts
5
index.ts
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user