mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
build: 1.3.5-beta20
This commit is contained in:
parent
ff5fb18e14
commit
55e64395ed
@ -107,6 +107,7 @@ export function postOB11Event(msg: PostEventType, reportSelf = false, postWs = t
|
||||
logDebug('新消息事件HTTP上报没有返回快速操作,不需要处理');
|
||||
return;
|
||||
}
|
||||
try {
|
||||
if (msg.post_type === 'message') {
|
||||
msg = msg as OB11Message;
|
||||
const rawMessage = await dbUtil.getMsgByShortId(msg.message_id);
|
||||
@ -178,6 +179,10 @@ export function postOB11Event(msg: PostEventType, reportSelf = false, postWs = t
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: any) {
|
||||
logError('新消息事件HTTP上报返回快速操作失败', e);
|
||||
}
|
||||
|
||||
}, (err: any) => {
|
||||
logError(`新消息事件HTTP上报失败: ${host} `, err, msg);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user