Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-29 14:54:18 +0300
committerJoas Schilling <coding@schilljs.com>2020-04-29 14:54:52 +0300
commitdd8f4131ffc37c32965f74d104bc76bf6c752f17 (patch)
tree49644af1d093f156adb91848040a893f3ca4e401 /src/FilesSidebarTabApp.vue
parent54791de3b3aac8110041ba0cee5805b8ab0e68df (diff)
Remove all direct calls to getSignaling
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/FilesSidebarTabApp.vue')
-rw-r--r--src/FilesSidebarTabApp.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FilesSidebarTabApp.vue b/src/FilesSidebarTabApp.vue
index a29c11861..984d68098 100644
--- a/src/FilesSidebarTabApp.vue
+++ b/src/FilesSidebarTabApp.vue
@@ -57,10 +57,10 @@ import {
} from './services/participantsService'
import CancelableRequest from './utils/cancelableRequest'
import {
- getSignaling,
signalingKill,
} from './utils/webrtc/index'
import { getCurrentUser } from '@nextcloud/auth'
+import { loadState } from '@nextcloud/initial-state'
import Axios from '@nextcloud/axios'
import CallButton from './components/TopBar/CallButton'
import ChatView from './components/ChatView'
@@ -184,8 +184,7 @@ export default {
// used), although that should not be a problem given that only the
// "inCall" flag (which is locally updated when joining and leaving
// a call) is currently used.
- const signaling = await getSignaling()
- if (signaling.url) {
+ if (loadState('talk', 'signaling_mode') !== 'internal') {
EventBus.$on('shouldRefreshConversations', OCA.Talk.fetchCurrentConversationWrapper)
} else {
// The "shouldRefreshConversations" event is triggered only when