From 7736e6bc38ee405a8d073c77b20d8fa4a2b8a12c Mon Sep 17 00:00:00 2001 From: Nikita Konev Date: Wed, 11 Dec 2024 01:13:36 +0300 Subject: [PATCH] remove duplications from RightPanelActions.vue --- frontend/src/RightPanelActions.vue | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/frontend/src/RightPanelActions.vue b/frontend/src/RightPanelActions.vue index f92520b3..ae18c6a5 100644 --- a/frontend/src/RightPanelActions.vue +++ b/frontend/src/RightPanelActions.vue @@ -27,10 +27,7 @@ - - - @@ -78,7 +75,6 @@ import { } from "@/router/routes"; import axios from "axios"; import bus, { - ADD_VIDEO_SOURCE_DIALOG, LOGGED_OUT, OPEN_CHAT_EDIT, OPEN_NOTIFICATIONS_DIALOG, OPEN_PINNED_MESSAGES_MODAL, OPEN_PUBLISHED_MESSAGES_MODAL, @@ -155,9 +151,6 @@ export default { shouldDisplayCopyCallLink() { return (this.chatStore.showCallManagement) && this.isMobile() }, - shouldDisplayAddVideoSource() { - return this.$route.name == videochat_name && this.isMobile() - }, shouldDisplayCreateChat() { return this.chatStore.currentUser }, @@ -174,9 +167,6 @@ export default { copyCallLink(this.chatId); this.setTempNotification(this.$vuetify.locale.t('$vuetify.video_call_link_copied')); }, - addVideoSource() { - bus.emit(ADD_VIDEO_SOURCE_DIALOG); - }, getRouteChats() { return chats }, @@ -268,14 +258,6 @@ export default { return !isChatRoute(this.$route) } }, - startRecord() { - axios.put(`/api/video/${this.chatId}/record/start`); - this.chatStore.initializingStaringVideoRecord = true; - }, - stopRecord() { - axios.put(`/api/video/${this.chatId}/record/stop`); - this.chatStore.initializingStoppingVideoRecord = true; - }, onProfileSet() { this.graphQlUserStatusSubscribe(); },