diff --git a/vc_zoom/indico_vc_zoom/templates/buttons.html b/vc_zoom/indico_vc_zoom/templates/buttons.html index b0d5451..53f9f54 100644 --- a/vc_zoom/indico_vc_zoom/templates/buttons.html +++ b/vc_zoom/indico_vc_zoom/templates/buttons.html @@ -1,6 +1,6 @@ {% macro render_make_me_owner(event, vc_room, event_vc_room, extra_classes='') %} {% if session.user.identifier != vc_room.data['host'] - and session.user.identifier not in vc_room.data['alternative_hosts'] + and session.user.identifier not in vc_room.data.get('alternative_hosts', []) and event.can_manage(session.user) %}