From 7590faaa6335d02754dc5d743fe4f20ac140147e Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Wed, 19 Feb 2025 16:03:37 +0530 Subject: [PATCH] fix: Join Dyte meeting URL in dashboard (#10932) The join meeting feature was broken in the dashboard because the message ID was missing in the meeting link. This PR fixes these issues. --- .../dashboard/components-next/message/bubbles/Dyte.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Dyte.vue b/app/javascript/dashboard/components-next/message/bubbles/Dyte.vue index 61d3cf31d..71d60b28f 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Dyte.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Dyte.vue @@ -9,7 +9,7 @@ import { useI18n } from 'vue-i18n'; import { useMessageContext } from '../provider.js'; import BaseAttachmentBubble from './BaseAttachment.vue'; -const { content, sender, contentAttributes } = useMessageContext(); +const { content, sender, contentAttributes, id } = useMessageContext(); const { t } = useI18n(); @@ -28,7 +28,7 @@ const joinTheCall = async () => { isLoading.value = true; try { const { data: { authResponse: { authToken } = {} } = {} } = - await DyteAPI.addParticipantToMeeting(meetingData.value.messageId); + await DyteAPI.addParticipantToMeeting(id.value); dyteAuthToken.value = authToken; } catch (err) { useAlert(t('INTEGRATION_SETTINGS.DYTE.JOIN_ERROR')); @@ -53,7 +53,7 @@ const action = computed(() => ({ sender-translation-key="CONVERSATION.SHARED_ATTACHMENT.MEETING" :action="action" > -
+
{{ content }} @@ -64,7 +64,7 @@ const action = computed(() => ({ allow="camera;microphone;fullscreen;display-capture;picture-in-picture;clipboard-write;" />