@aochuang/client-sdk 1.0.291 → 1.0.292
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
|
@@ -861,7 +861,7 @@ export default class ClientChatContacts {
|
|
|
861
861
|
// 一般用在切换群的时候,把前一次的群缓存的数据清理一下,避免占用内存
|
|
862
862
|
clearRoomMemberData (roomId) {
|
|
863
863
|
this.setRoomMemberData(roomId, null)
|
|
864
|
-
if (this.loadRoomMemberDataPromiseMap[roomId]) {
|
|
864
|
+
if (this.loadRoomMemberDataPromiseMap && this.loadRoomMemberDataPromiseMap[roomId]) {
|
|
865
865
|
delete this.loadRoomMemberDataPromiseMap[roomId]
|
|
866
866
|
}
|
|
867
867
|
}
|