mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
Chat: Adapt to updated signal
This commit is contained in:
parent
4a63d78987
commit
bb50456ba5
@ -115,7 +115,7 @@ class ChatPlugin(IndicoPlugin):
|
||||
self.register_js_bundle('chat_js', 'js/chat.js')
|
||||
|
||||
def inject_event_header(self, event, **kwargs):
|
||||
chatrooms = ChatroomEventAssociation.find_for_event(event.as_event).all()
|
||||
chatrooms = ChatroomEventAssociation.find_for_event(event).all()
|
||||
if not chatrooms:
|
||||
return ''
|
||||
how_to_connect = self.settings.get('how_to_connect')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user