prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  #3491 [mB] add video embed to interactive event 
  **URL:** https://meinberlin-dev.liqd.net/projekte/design-project/
  **device & browser:** *Safari Version 14.0 (15610.1.28.1.9, 15610)*
  **Comment/Question:** 
  *Just to confirm, the live stream field should appear just when the project is published? Cause, I can't select the live stream section before being published, otherwise all good*  
  
  <img width="1361" alt="Screenshot 2020-11-10 at 16 03 41" src="https://user-images.githubusercontent.com/59610786/98691968-e462ff80-236e-11eb-904b-755ff83b79cc.png">
  <img width="1389" alt="Screenshot 2020-11-10 at 16 04 07" src="https://user-images.githubusercontent.com/59610786/98691978-e7f68680-236e-11eb-9a18-53ade0537fa8.png">
  <img width="1330" alt="Screenshot 2020-11-10 at 16 04 24" src="https://user-images.githubusercontent.com/59610786/98691980-e927b380-236e-11eb-88a8-ad2c644e58df.png">
  
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `meinberlin/apps/livequestions/dashboard.py`
  Content:
  ```
  1 from django.urls import reverse
  2 from django.utils.translation import ugettext_lazy as _
  3 
  4 from adhocracy4.dashboard import DashboardComponent
  5 from adhocracy4.dashboard import components
  6 
  7 from . import views
  8 
  9 
  10 class LiveStreamComponent(DashboardComponent):
  11     identifier = 'live_stream'
  12     weight = 20
  13     label = _('Live Stream')
  14 
  15     def is_effective(self, module):
  16         module_app = module.phases[0].content().app
  17         return (module_app == 'meinberlin_livequestions' and
  18                 not module.project.is_draft)
  19 
  20     def get_progress(self, module):
  21         return 0, 0
  22 
  23     def get_base_url(self, module):
  24         return reverse('a4dashboard:livequestions-livestream', kwargs={
  25             'module_slug': module.slug,
  26         })
  27 
  28     def get_urls(self):
  29         return [(
  30             r'^modules/(?P<module_slug>[-\w_]+)/livestream/$',
  31             views.LiveStreamDashboardView.as_view(component=self),
  32             'livequestions-livestream'
  33         )]
  34 
  35 
  36 components.register_module(LiveStreamComponent())
  37
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/meinberlin/apps/livequestions/dashboard.py b/meinberlin/apps/livequestions/dashboard.py
  --- a/meinberlin/apps/livequestions/dashboard.py
  +++ b/meinberlin/apps/livequestions/dashboard.py
  @@ -14,8 +14,7 @@
   
       def is_effective(self, module):
           module_app = module.phases[0].content().app
  -        return (module_app == 'meinberlin_livequestions' and
  -                not module.project.is_draft)
  +        return (module_app == 'meinberlin_livequestions')
   
       def get_progress(self, module):
           return 0, 0
  
verification_info: {"golden_diff": "diff --git a/meinberlin/apps/livequestions/dashboard.py b/meinberlin/apps/livequestions/dashboard.py\n--- a/meinberlin/apps/livequestions/dashboard.py\n+++ b/meinberlin/apps/livequestions/dashboard.py\n@@ -14,8 +14,7 @@\n \n     def is_effective(self, module):\n         module_app = module.phases[0].content().app\n-        return (module_app == 'meinberlin_livequestions' and\n-                not module.project.is_draft)\n+        return (module_app == 'meinberlin_livequestions')\n \n     def get_progress(self, module):\n         return 0, 0\n", "issue": "#3491 [mB] add video embed to interactive event \n**URL:** https://meinberlin-dev.liqd.net/projekte/design-project/\r\n**device & browser:** *Safari Version 14.0 (15610.1.28.1.9, 15610)*\r\n**Comment/Question:** \r\n*Just to confirm, the live stream field should appear just when the project is published? Cause, I can't select the live stream section before being published, otherwise all good*  \r\n\r\n<img width=\"1361\" alt=\"Screenshot 2020-11-10 at 16 03 41\" src=\"https://user-images.githubusercontent.com/59610786/98691968-e462ff80-236e-11eb-904b-755ff83b79cc.png\">\r\n<img width=\"1389\" alt=\"Screenshot 2020-11-10 at 16 04 07\" src=\"https://user-images.githubusercontent.com/59610786/98691978-e7f68680-236e-11eb-9a18-53ade0537fa8.png\">\r\n<img width=\"1330\" alt=\"Screenshot 2020-11-10 at 16 04 24\" src=\"https://user-images.githubusercontent.com/59610786/98691980-e927b380-236e-11eb-88a8-ad2c644e58df.png\">\r\n\r\n\n", "before_files": [{"content": "from django.urls import reverse\nfrom django.utils.translation import ugettext_lazy as _\n\nfrom adhocracy4.dashboard import DashboardComponent\nfrom adhocracy4.dashboard import components\n\nfrom . import views\n\n\nclass LiveStreamComponent(DashboardComponent):\n    identifier = 'live_stream'\n    weight = 20\n    label = _('Live Stream')\n\n    def is_effective(self, module):\n        module_app = module.phases[0].content().app\n        return (module_app == 'meinberlin_livequestions' and\n                not module.project.is_draft)\n\n    def get_progress(self, module):\n        return 0, 0\n\n    def get_base_url(self, module):\n        return reverse('a4dashboard:livequestions-livestream', kwargs={\n            'module_slug': module.slug,\n        })\n\n    def get_urls(self):\n        return [(\n            r'^modules/(?P<module_slug>[-\\w_]+)/livestream/$',\n            views.LiveStreamDashboardView.as_view(component=self),\n            'livequestions-livestream'\n        )]\n\n\ncomponents.register_module(LiveStreamComponent())\n", "path": "meinberlin/apps/livequestions/dashboard.py"}], "after_files": [{"content": "from django.urls import reverse\nfrom django.utils.translation import ugettext_lazy as _\n\nfrom adhocracy4.dashboard import DashboardComponent\nfrom adhocracy4.dashboard import components\n\nfrom . import views\n\n\nclass LiveStreamComponent(DashboardComponent):\n    identifier = 'live_stream'\n    weight = 20\n    label = _('Live Stream')\n\n    def is_effective(self, module):\n        module_app = module.phases[0].content().app\n        return (module_app == 'meinberlin_livequestions')\n\n    def get_progress(self, module):\n        return 0, 0\n\n    def get_base_url(self, module):\n        return reverse('a4dashboard:livequestions-livestream', kwargs={\n            'module_slug': module.slug,\n        })\n\n    def get_urls(self):\n        return [(\n            r'^modules/(?P<module_slug>[-\\w_]+)/livestream/$',\n            views.LiveStreamDashboardView.as_view(component=self),\n            'livequestions-livestream'\n        )]\n\n\ncomponents.register_module(LiveStreamComponent())\n", "path": "meinberlin/apps/livequestions/dashboard.py"}]}