leancloud / LeanCloudChatKit-Android

95 stars 33 forks source link

LCIMConversationItem 的 compareTo 方法存在bug #54

Open TiaossuP opened 7 years ago

TiaossuP commented 7 years ago

https://github.com/leancloud/LeanCloudChatKit-Android/blob/master/leancloudchatkit/src/main/java/cn/leancloud/chatkit/cache/LCIMConversationItem.java#L50

有两个item更新时间毫秒数相同时,会被当成同一项合并。

TiaossuP commented 7 years ago

举例:当一次初始化大量conversation的时候,会出现这种情况; 当updateTime相同的时候,比较conversationId,还是其他方案?