@aochuang/client-sdk 1.0.370 → 1.0.371

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aochuang/client-sdk",
3
- "version": "1.0.370",
3
+ "version": "1.0.371",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1279,12 +1279,6 @@ class ClientChat {
1279
1279
  return readPromise.finally(() => {
1280
1280
  if (sessionInstances && sessionInstances.length) {
1281
1281
  sessionInstances[0].markSessionRead(sessionId)
1282
- sessionInstances.forEach(sessionInstance => {
1283
- sessionInstance.removeSession(sessionId)
1284
- })
1285
- }
1286
- if (this.sessionManage.currentSession && this.sessionManage.currentSession.conversationId === sessionId) {
1287
- this.sessionManage.setCurrentSession(null)
1288
1282
  }
1289
1283
  })
1290
1284
  }