From: Yoan Le Clanche Date: Thu, 7 May 2020 12:20:00 +0000 (+0200) Subject: WIP X-Git-Tag: 2.8.1-pro~187^2~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=dcb45103f2a822e1bf718062f2519c12d7a1687a;p=teleforma.git WIP --- diff --git a/teleforma/models/core.py b/teleforma/models/core.py index f35bfd80..30842d75 100755 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -546,23 +546,6 @@ class WebclassMixin(Model): self.webclass_id = meeting_id self.webclass_password = password -<<<<<<< HEAD - @property - def participant_slot_available(self): - """ - is there any slot available for another participants - """ - if self.webclass and self.webclass_max_participants: - auditors = self.auditor.count() - return auditors < self.webclass_max_participants - return True - - def join_webclass(self): - """ """ - - def get_webclass_info(self): - """ """ -======= def create_webclass_room(self): """ create a BBB room and generate meeting id and moderator password """ @@ -645,8 +628,16 @@ class WebclassMixin(Model): return None return longest_record - ->>>>>>> fdfea86b7089c1634487e00b3ca8465c8f9ff762 + @property + def participant_slot_available(self): + """ + is there any slot available for another participants + """ + if self.webclass and self.webclass_max_participants: + auditors = self.auditor.count() + return auditors < self.webclass_max_participants + return True + class Conference(Displayable, WebclassMixin):