Skip to content

Commit 62ff95c

Browse files
committed
chore: update version to 5.8.0 and enhance error logging for message retrieval
1 parent c70811a commit 62ff95c

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

doc/更新日志.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
V5.8.0
2+
更新时间 2025-8-24
3+
4+
* 修复`receiveOfflineMsg`不生效
5+
* 修复接受撤回的戳一戳消息可能导致崩溃
6+
* 支持加载类似 LiteLoaderQQNT 的 js 插件,详情见 <https://github.com/linyuchen/PMHQ/blob/main/doc/plugin.md>
7+
8+
=================
9+
110
V5.7.2
211
更新时间 2025-8-23
312

package-dist.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"llonebot","version":"5.7.2","type":"module","description":"","main":"llonebot.js","author":"linyuchen"}
1+
{"name":"llonebot","version":"5.8.0","type":"module","description":"","main":"llonebot.js","author":"linyuchen"}

src/ntqqapi/core.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ class Core extends Service {
242242
for(const _msg of r.msgList) {
243243
this.ctx.parallel('nt/message-deleted', _msg)
244244
}
245+
}).catch(e=>{
246+
this.ctx.logger.error('获取被撤回戳一戳消息失败', e, { peer, msgId })
245247
})
246248
}
247249
else{

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs'
22
import packageJson from '../package-dist.json'
33

4-
export const version = '5.7.2'
4+
export const version = '5.8.0'
55

66
export const writeVersion = ()=>{
77
const pkgJsonPath = './package-dist.json'

0 commit comments

Comments
 (0)