mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: 还原修改
This commit is contained in:
@@ -209,8 +209,8 @@ export class NapCatOnebot11 {
|
|||||||
//console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2));
|
//console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2));
|
||||||
// logDebug('收到消息', msg);
|
// logDebug('收到消息', msg);
|
||||||
for (const m of msg) {
|
for (const m of msg) {
|
||||||
// try: 减掉3s 试图修复消息半天收不到
|
// try: 减掉3s 试图修复消息半天收不到(不减了不减了 会出大问题)
|
||||||
if (this.bootTime - 3 > parseInt(m.msgTime)) {
|
if (this.bootTime > parseInt(m.msgTime)) {
|
||||||
logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`);
|
logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user