diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-22 12:37:20 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-10-07 18:18:30 +0200 |
commit | 390ae657a18523bb0b39f6531fa27de9bb075410 (patch) | |
tree | 1782ae950637d44d033e3a3b6f112ff4b529a2e1 /src/components/TopBar/CallButton.vue | |
parent | a0e1168db04100c153133a5fcb0d1440a2e22644 (diff) |
Introduce different layers for permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/TopBar/CallButton.vue')
-rw-r--r-- | src/components/TopBar/CallButton.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/TopBar/CallButton.vue b/src/components/TopBar/CallButton.vue index a6045e138..1a02569a6 100644 --- a/src/components/TopBar/CallButton.vue +++ b/src/components/TopBar/CallButton.vue @@ -187,10 +187,10 @@ export default { async joinCall() { let flags = PARTICIPANT.CALL_FLAG.IN_CALL - if (this.conversation.publishingPermissions & PARTICIPANT.PERMISSIONS.PUBLISH_AUDIO) { + if (this.conversation.permissions & PARTICIPANT.PERMISSIONS.PUBLISH_AUDIO) { flags |= PARTICIPANT.CALL_FLAG.WITH_AUDIO } - if (this.conversation.publishingPermissions & PARTICIPANT.PERMISSIONS.PUBLISH_VIDEO) { + if (this.conversation.permissions & PARTICIPANT.PERMISSIONS.PUBLISH_VIDEO) { flags |= PARTICIPANT.CALL_FLAG.WITH_VIDEO } |