Chat: Adapt to updated signal

This commit is contained in:
Adrian Moennich 2017-02-22 17:08:01 +01:00
parent 4a63d78987
commit bb50456ba5

View File

@ -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')