2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

格式化部分内容

This commit is contained in:
ctrlcvs 2023-05-29 21:34:14 +08:00
parent 9ab7a3f5dd
commit 4db9fdf24e
2 changed files with 872 additions and 851 deletions

View File

@ -120,10 +120,10 @@ export async function getCookieMap(cookie) {
*/ */
export function recallMsg(e,r,times){ export function recallMsg(e,r,times){
setTimeout(()=>{ setTimeout(()=>{
if(e?.group?.recallMsg){ if(e?.group?.recallMsg&&r?.message_id){
e?.group?.recallMsg(r.message_id) e?.group?.recallMsg(r?.message_id)
}else if(e?.friend?.recallMsg){ }else if(e?.friend?.recallMsg&&r?.message_id){
e?.friend?.recallMsg(r.message_id) e?.friend?.recallMsg(r?.message_id)
} }
},1000 * times) },1000 * times)
} }

File diff suppressed because it is too large Load Diff