From 25932ed8fbeeb175c2adaab8e39284a545ec6240 Mon Sep 17 00:00:00 2001 From: Tomas Roun Date: Fri, 2 Dec 2022 13:27:55 +0100 Subject: [PATCH] VC/Zoom: Fix 'Mute video (host)' setting --- vc_zoom/README.md | 4 ++++ vc_zoom/indico_vc_zoom/plugin.py | 2 +- vc_zoom/setup.cfg | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/vc_zoom/README.md b/vc_zoom/README.md index dbc5ca9..f1c9b67 100644 --- a/vc_zoom/README.md +++ b/vc_zoom/README.md @@ -11,6 +11,10 @@ ## Changelog +### 3.2.2 + +- Correctly show current "Mute video (host)" status when editing zoom meeting + ### 3.2.1 - Do not break Zoom meetings that require registration when cloning or attaching to another event diff --git a/vc_zoom/indico_vc_zoom/plugin.py b/vc_zoom/indico_vc_zoom/plugin.py index f985572..087be4b 100644 --- a/vc_zoom/indico_vc_zoom/plugin.py +++ b/vc_zoom/indico_vc_zoom/plugin.py @@ -418,7 +418,7 @@ class ZoomPlugin(VCPluginMixin, IndicoPlugin): 'description': zoom_meeting.get('agenda', ''), 'zoom_id': zoom_meeting['id'], 'password': zoom_meeting['password'], - 'mute_host_video': zoom_meeting['settings']['host_video'], + 'mute_host_video': not zoom_meeting['settings']['host_video'], # these options will be empty for webinars 'mute_audio': zoom_meeting['settings'].get('mute_upon_entry'), diff --git a/vc_zoom/setup.cfg b/vc_zoom/setup.cfg index a4ba154..ce8171c 100644 --- a/vc_zoom/setup.cfg +++ b/vc_zoom/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = indico-plugin-vc-zoom -version = 3.2.1 +version = 3.2.2 description = Zoom video-conferencing plugin for Indico long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8; variant=GFM