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 <213943+nickvergessen@users.noreply.github.com>2020-06-08 10:06:23 +0300
committerGitHub <noreply@github.com>2020-06-08 10:06:23 +0300
commit9d965729ac36bfee2e479d5f619ced9ad4b19a12 (patch)
tree37946f51f2000984cd61c1de404899633b8b5668
parentc01d75560b447c77a190dbaa4f5fdef730d28ed7 (diff)
parent02f598761c3b7c8d2460c49b40aa50c65c334f55 (diff)
Merge pull request #3758 from nextcloud/backport/3749/stable19
[stable19] Use the correct token to check the participant
-rw-r--r--src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue b/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue
index 397a72bfc..feafa5593 100644
--- a/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue
+++ b/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue
@@ -191,7 +191,7 @@ export default {
},
participant() {
- if (typeof this.token === 'undefined') {
+ if (this.$store.getters.getToken()) {
return {
inCall: PARTICIPANT.CALL_FLAG.DISCONNECTED,
}
@@ -199,7 +199,7 @@ export default {
const participantIndex = this.$store.getters.getParticipantIndex(this.$store.getters.getToken(), this.$store.getters.getParticipantIdentifier())
if (participantIndex !== -1) {
- return this.$store.getters.getParticipant(this.token, participantIndex)
+ return this.$store.getters.getParticipant(this.$store.getters.getToken(), participantIndex)
}
return {