@onyx-p/imlib-web 2.0.0 → 2.0.1
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/index.esm.js +1 -1
- package/index.umd.js +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -28776,7 +28776,7 @@ class IMClient extends EventEmitter {
|
|
28776
28776
|
if (isDef(conversationObj.latestMessage)) {
|
28777
28777
|
conversationObj.updateTime = parseInt(conversationObj.latestMessage.sentTime);
|
28778
28778
|
} else {
|
28779
|
-
conversationObj.updateTime = (contentList[contentList.length - 1]
|
28779
|
+
conversationObj.updateTime = (contentList[contentList.length - 1]?.updateTime ?? 0) + 1;
|
28780
28780
|
}
|
28781
28781
|
ConversationManager$1.get().addLocalConversation(conversationObj);
|
28782
28782
|
const localConversation = ConversationManager$1.get().get(conOpt);
|
package/index.umd.js
CHANGED
@@ -28782,7 +28782,7 @@
|
|
28782
28782
|
if (isDef(conversationObj.latestMessage)) {
|
28783
28783
|
conversationObj.updateTime = parseInt(conversationObj.latestMessage.sentTime);
|
28784
28784
|
} else {
|
28785
|
-
conversationObj.updateTime = (contentList[contentList.length - 1]
|
28785
|
+
conversationObj.updateTime = (contentList[contentList.length - 1]?.updateTime ?? 0) + 1;
|
28786
28786
|
}
|
28787
28787
|
ConversationManager$1.get().addLocalConversation(conversationObj);
|
28788
28788
|
const localConversation = ConversationManager$1.get().get(conOpt);
|