@bcc-code/vue-bcc-chat-ui 5.4.2 → 5.4.4
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
CHANGED
|
@@ -78234,7 +78234,7 @@ class Cat {
|
|
|
78234
78234
|
}
|
|
78235
78235
|
Bi = new WeakMap(), ci = new WeakMap(), gl = new WeakMap(), uu = new WeakMap(), Fo = new WeakSet(), Ch = function(t, r, n) {
|
|
78236
78236
|
const a = structuredClone(n) ?? {};
|
|
78237
|
-
a.chatVersion = "5.4.
|
|
78237
|
+
a.chatVersion = "5.4.4";
|
|
78238
78238
|
const i = {
|
|
78239
78239
|
logUid: window.crypto.randomUUID(),
|
|
78240
78240
|
correlationUid: yr(this, gl),
|
|
@@ -86965,10 +86965,7 @@ const hct = {
|
|
|
86965
86965
|
m1(n.value),
|
|
86966
86966
|
jn.getGroup(r.chatUid)
|
|
86967
86967
|
]);
|
|
86968
|
-
if (a.value = P ?? void 0, i.value = P === void 0, p && !((L = a.value) != null && L.getHasJoined()) && jn.updateGetGroupMessages(p), D && jn.scrollToMessage(D), w && (jn.loadMessageId.value = w, d.value = ""),
|
|
86969
|
-
per_page: 1,
|
|
86970
|
-
affix: "prepend"
|
|
86971
|
-
}).total === 0 ? o.value = !0 : o.value = !1, a.value) {
|
|
86968
|
+
if (a.value = P ?? void 0, i.value = P === void 0, p && !((L = a.value) != null && L.getHasJoined()) && jn.updateGetGroupMessages(p), D && jn.scrollToMessage(D), w && (jn.loadMessageId.value = w, d.value = ""), o.value = !1, a.value) {
|
|
86972
86969
|
let $ = a.value.getMetadata().isChannel;
|
|
86973
86970
|
j_(".bcc-chat-message-list-wrapper", [
|
|
86974
86971
|
{
|
|
@@ -86977,7 +86974,12 @@ const hct = {
|
|
|
86977
86974
|
"max-width": $ ? "95%" : "80%"
|
|
86978
86975
|
}
|
|
86979
86976
|
}
|
|
86980
|
-
]),
|
|
86977
|
+
]), setTimeout(() => {
|
|
86978
|
+
ao.getGroupMessages(T, {
|
|
86979
|
+
per_page: 1,
|
|
86980
|
+
affix: "prepend"
|
|
86981
|
+
}).total === 0 ? o.value = !0 : o.value = !1;
|
|
86982
|
+
}, 1500), $ ? l.value = [] : I1(T).then((Q) => l.value = Q);
|
|
86981
86983
|
}
|
|
86982
86984
|
await jn.clearGroupChatCount(r.chatUid);
|
|
86983
86985
|
} else a.value && (a.value = void 0);
|