@bcc-code/vue-bcc-chat-ui 5.2.8 → 5.2.9
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/dist/vue-bcc-chat-ui.js +10 -10
- package/dist/vue-bcc-chat-ui.js.map +1 -1
- package/package.json +1 -1
package/dist/vue-bcc-chat-ui.js
CHANGED
|
@@ -78233,7 +78233,7 @@ class pat {
|
|
|
78233
78233
|
}
|
|
78234
78234
|
Bi = new WeakMap(), ci = new WeakMap(), gl = new WeakMap(), uu = new WeakMap(), Fo = new WeakSet(), Ch = function(t, r, n) {
|
|
78235
78235
|
const a = structuredClone(n) ?? {};
|
|
78236
|
-
a.chatVersion = "5.2.
|
|
78236
|
+
a.chatVersion = "5.2.9";
|
|
78237
78237
|
const i = {
|
|
78238
78238
|
logUid: window.crypto.randomUUID(),
|
|
78239
78239
|
correlationUid: xr(this, gl),
|
|
@@ -80090,16 +80090,16 @@ async function wit() {
|
|
|
80090
80090
|
rn.error("could not fetch mute settings", { error: S });
|
|
80091
80091
|
}
|
|
80092
80092
|
let E = null;
|
|
80093
|
-
if (s) {
|
|
80094
|
-
|
|
80095
|
-
|
|
80096
|
-
|
|
80097
|
-
|
|
80098
|
-
|
|
80099
|
-
}
|
|
80100
|
-
rn.error("failed to fetch conversation's last message from Cometchat", { error: A }), s = new X.CometChat.TextMessage("", "Couldn't load the message", "");
|
|
80101
|
-
}
|
|
80093
|
+
if (s && s.getType() == g.CometChatUIKitConstants.MessageTypes.groupMember && h.isChannel) {
|
|
80094
|
+
d = d.filter((A) => A !== g.CometChatUIKitConstants.MessageTypes.groupMember);
|
|
80095
|
+
let S = new X.CometChat.MessagesRequestBuilder().setLimit(1).setTypes(d).setGUID(s.getReceiverId()).hideReplies(!0).build();
|
|
80096
|
+
try {
|
|
80097
|
+
s = (await S.fetchPrevious())[0];
|
|
80098
|
+
} catch (A) {
|
|
80099
|
+
rn.error("failed to fetch conversation's last message from Cometchat", { error: A }), s = new X.CometChat.TextMessage("", "Couldn't load the message", "");
|
|
80102
80100
|
}
|
|
80101
|
+
}
|
|
80102
|
+
if (s) {
|
|
80103
80103
|
E = {
|
|
80104
80104
|
text: xS(s, !0, !0),
|
|
80105
80105
|
type: s.getType(),
|