easemob-chat-uikit 2.4.0 → 2.4.1-beta.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/ChatUI.esm.js +10 -10
- package/ChatUI.js +1 -1
- package/ChatUI.umd.js +1 -1
- package/package.json +1 -1
- package/README.md +0 -390
package/ChatUI.esm.js
CHANGED
|
@@ -43584,16 +43584,16 @@ const useConversations = (r = !1) => {
|
|
|
43584
43584
|
cursor,
|
|
43585
43585
|
includeEmptyConversations: r
|
|
43586
43586
|
}).then((f) => {
|
|
43587
|
-
var Q, ee, te, re, ie
|
|
43588
|
-
(
|
|
43589
|
-
const w = (
|
|
43590
|
-
const { lastMessage:
|
|
43591
|
-
return !
|
|
43592
|
-
})) == null ? void 0 :
|
|
43593
|
-
chatType:
|
|
43594
|
-
conversationId:
|
|
43595
|
-
unreadCount:
|
|
43596
|
-
lastMessage:
|
|
43587
|
+
var Q, ee, te, re, ie;
|
|
43588
|
+
(Q = f.data) != null && Q.cursor ? (s.setHasConversationNext(!0), cursor = ((ee = f.data) == null ? void 0 : ee.cursor) || "") : s.setHasConversationNext(!1);
|
|
43589
|
+
const w = (ie = (re = (te = f.data) == null ? void 0 : te.conversations) == null ? void 0 : re.filter((se) => {
|
|
43590
|
+
const { lastMessage: de = {} } = se;
|
|
43591
|
+
return !de.chatThread;
|
|
43592
|
+
})) == null ? void 0 : ie.map((se) => ({
|
|
43593
|
+
chatType: se.conversationType,
|
|
43594
|
+
conversationId: se.conversationId,
|
|
43595
|
+
unreadCount: se.unReadCount,
|
|
43596
|
+
lastMessage: se.lastMessage
|
|
43597
43597
|
}));
|
|
43598
43598
|
s.getSilentModeForConversations(w || []), s.setConversation(w), eventHandler.dispatchSuccess("getConversationlist");
|
|
43599
43599
|
}).catch((f) => {
|