koishi-plugin-group-analysis-mx 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -231,8 +231,11 @@ class RendererService extends koishi_1.Service {
231
231
  for (const u of (data.userStats || [])) {
232
232
  if (u && u.avatar && String(u.avatar).startsWith('data:')) {
233
233
  for (const nm of [u.rawName, u.nickname]) {
234
- if (nm && String(nm).trim())
234
+ if (nm && String(nm).trim()) {
235
235
  nameAvatar.set(String(nm).trim(), u.avatar);
236
+ const nn = (0, utils_1.normalizeNickname)(nm);
237
+ if (nn) nameAvatar.set(nn, u.avatar);
238
+ }
236
239
  }
237
240
  }
238
241
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-group-analysis-mx",
3
3
  "description": "群聊分析插件 - 生成精美群聊统计报告,支持 AI 话题总结(独立版,不依赖 ChatLuna)",
4
- "version": "1.6.2",
4
+ "version": "1.6.3",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",
@@ -55,3 +55,4 @@
55
55
 
56
56
 
57
57
 
58
+