From 915ef2a22238fd97582578c1076eb3206ac55fac Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 5 Feb 2026 15:32:43 +0100 Subject: [PATCH] remove live tweeter notif, make live notif async --- teleforma/views/core.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 6366c71f..8679ea27 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -934,12 +934,6 @@ class ConferenceView(CourseAccessMixin, DetailView): stream_type=stream_type, streaming=True) stream.save() - if not conference.web_class_group and settings.TELECASTER_LIVE_TWEETER: - try: - site = get_current_site(request) - live_message(site, conference) - except: - pass else: raise 'Error : input must be a conference dictionnary' @@ -1031,7 +1025,7 @@ class NotificationView(APIView): class LiveConferenceNotify(APIView): - def post(self, request): + async def post(self, request): """ notify users a new live conference is starting """ -- 2.39.5