@bcc-code/vue-bcc-chat-ui 3.17.0 → 3.17.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/dist/vue-bcc-chat-ui.js +5 -3
- package/package.json +1 -1
package/dist/vue-bcc-chat-ui.js
CHANGED
|
@@ -79617,10 +79617,12 @@ function jdt(e, t) {
|
|
|
79617
79617
|
const n = new te.MessageListConfiguration({
|
|
79618
79618
|
scrollToBottomOnNewMessages: !0
|
|
79619
79619
|
});
|
|
79620
|
-
let r = st.getDataSource().getAllMessageTypes();
|
|
79621
79620
|
return Hn(() => {
|
|
79622
79621
|
var o, i;
|
|
79623
|
-
|
|
79622
|
+
if (_a.initialized.value == !1)
|
|
79623
|
+
return n;
|
|
79624
|
+
let r = st.getDataSource().getAllMessageTypes();
|
|
79625
|
+
return (i = (o = t == null ? void 0 : t.value) == null ? void 0 : o.getMetadata()) != null && i.isChannel && (r = r.filter((a) => a !== d.CometChatUIKitConstants.MessageTypes.groupMember), n.showAvatar = !1), n.messagesRequestBuilder = new Z.CometChat.MessagesRequestBuilder().setLimit(30).setTypes(r).hideReplies(!0), n.templates = Ur.getDataSource().getAllMessageTemplates(Vi.value).map((a) => (a.options = Vdt(a.options, e), a.headerView = function(u) {
|
|
79624
79626
|
var l, g;
|
|
79625
79627
|
if (!Fdt(u, n))
|
|
79626
79628
|
return;
|
|
@@ -79642,7 +79644,7 @@ function jdt(e, t) {
|
|
|
79642
79644
|
</div>
|
|
79643
79645
|
`
|
|
79644
79646
|
};
|
|
79645
|
-
}, a))
|
|
79647
|
+
}, a)), n;
|
|
79646
79648
|
});
|
|
79647
79649
|
}
|
|
79648
79650
|
function Fdt(e, t) {
|