From d935bb27c703cc02b89bf02802c1b6e7c97996f2 Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Mon, 30 Nov 2020 18:12:34 +0100 Subject: [PATCH] VC/Zoom: Disable duplicate room name check --- vc_zoom/indico_vc_zoom/forms.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vc_zoom/indico_vc_zoom/forms.py b/vc_zoom/indico_vc_zoom/forms.py index f990254..629f33e 100644 --- a/vc_zoom/indico_vc_zoom/forms.py +++ b/vc_zoom/indico_vc_zoom/forms.py @@ -117,6 +117,10 @@ class VCRoomForm(VCRoomFormBase): if email is None or ZoomIndicoClient().get_user(email, silent=True) is None: raise ValidationError(_('This user has no Zoom account')) + def validate_name(self, field): + # Duplicate names are fine on Zoom + pass + @generated_data def host(self): if self.host_choice is None: