@wendongfly/zihi 1.1.17 → 1.1.19

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.
package/dist/chat.html CHANGED
@@ -1432,6 +1432,8 @@
1432
1432
  clearTimeout(_joinTimer);
1433
1433
  currentSession = session;
1434
1434
  overlay.classList.add('hidden');
1435
+ // 清空已有消息,避免重复加入时历史消息叠加
1436
+ chatArea.innerHTML = '';
1435
1437
  // 请求通知权限(不阻塞)
1436
1438
  try { requestNotifyPermission(); } catch {}
1437
1439
  document.title = session.title + ' — ZiHi';