Deactivate the projector message overlay by default
This commit is contained in:
parent
8d961f4940
commit
25df1b8693
@ -135,7 +135,7 @@ def projector_message_set(message, sid=None):
|
||||
try:
|
||||
overlay = ProjectorOverlay.objects.get(def_name='Message')
|
||||
except ProjectorOverlay.DoesNotExist:
|
||||
overlay = ProjectorOverlay(def_name='Message', active=True)
|
||||
overlay = ProjectorOverlay(def_name='Message', active=False)
|
||||
overlay.sid=sid
|
||||
overlay.save()
|
||||
|
||||
|
@ -52,9 +52,8 @@ class ControlView(TemplateView, AjaxMixin):
|
||||
projector_overlay = ProjectorOverlay.objects.get(
|
||||
def_name=name)
|
||||
except ProjectorOverlay.DoesNotExist:
|
||||
active = name == 'Message'
|
||||
projector_overlay = ProjectorOverlay(def_name=name,
|
||||
active=active)
|
||||
active=False)
|
||||
projector_overlay.save()
|
||||
overlays.append(projector_overlay)
|
||||
return overlays
|
||||
|
Loading…
Reference in New Issue
Block a user