@bcc-code/vue-bcc-chat-ui 4.1.0 → 4.2.0
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/package.json
CHANGED
|
@@ -22,7 +22,6 @@ const msgComposerData = vueInstance?.parent?.type?.name === "CometChatMessageCom
|
|
|
22
22
|
const msgComposerProps = vueInstance?.parent?.type?.name === "CometChatMessageComposer" && vueInstance?.parent?.props;
|
|
23
23
|
|
|
24
24
|
function sendMessage() {
|
|
25
|
-
debugger;
|
|
26
25
|
if (chat.onlineStatus.value === "offline") return;
|
|
27
26
|
if (!msgComposerData) return false;
|
|
28
27
|
if (!chatInstance?.value.captionedAttachment?.fileObject) return false;
|
|
@@ -47,7 +46,6 @@ function sendMessage() {
|
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
function sendMessageOnEnter(textEnteredEvent: CustomEventInit) {
|
|
50
|
-
debugger;
|
|
51
49
|
if (chat.onlineStatus.value === "offline") return;
|
|
52
50
|
if (!msgComposerData) return;
|
|
53
51
|
msgComposerData.messageText = textEnteredEvent.detail.value;
|