diff options
Diffstat (limited to 'src/components/TopBar/CallButton.vue')
-rw-r--r-- | src/components/TopBar/CallButton.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/TopBar/CallButton.vue b/src/components/TopBar/CallButton.vue index e6f44b5f1..87e7a4355 100644 --- a/src/components/TopBar/CallButton.vue +++ b/src/components/TopBar/CallButton.vue @@ -72,7 +72,7 @@ </template> <script> -import { CONVERSATION, PARTICIPANT } from '../../constants.js' +import { CALL, CONVERSATION, PARTICIPANT } from '../../constants.js' import browserCheck from '../../mixins/browserCheck.js' import isInCall from '../../mixins/isInCall.js' import isInLobby from '../../mixins/isInLobby.js' @@ -148,6 +148,10 @@ export default { return this.$store.getters.conversation(this.token) || this.$store.getters.dummyConversation }, + isRecording() { + return this.conversation.callRecording !== CALL.RECORDING.OFF + }, + participantType() { return this.conversation.participantType }, @@ -297,7 +301,7 @@ export default { const shouldShowDeviceCheckerScreen = (BrowserStorage.getItem('showDeviceChecker' + this.token) === null || BrowserStorage.getItem('showDeviceChecker' + this.token) === 'true') && !this.forceJoinCall console.debug(shouldShowDeviceCheckerScreen) - if (shouldShowDeviceCheckerScreen) { + if ((this.isRecording && !this.forceJoinCall) || shouldShowDeviceCheckerScreen) { emit('talk:device-checker:show') } else { emit('talk:device-checker:hide') |