Ejemplo n.º 1
0
def notify_owner(plugin, vc_room):
    """Notifies about the deletion of a Vidyo room from the Vidyo server."""
    user = vc_room.vidyo_extension.owned_by_user
    tpl = get_plugin_template_module('emails/remote_deleted.html',
                                     plugin=plugin,
                                     vc_room=vc_room,
                                     event=None,
                                     vc_room_event=None,
                                     user=user)
    _send('delete', user, plugin, None, vc_room, tpl)
Ejemplo n.º 2
0
def notify_owner(plugin, vc_room):
    """Notifies about the deletion of a Vidyo room from the Vidyo server."""
    user = vc_room.vidyo_extension.owned_by_user
    tpl = get_plugin_template_module('emails/remote_deleted.html', plugin=plugin, vc_room=vc_room, event=None,
                                     vc_room_event=None, user=user)
    _send('delete', user, plugin, None, vc_room, tpl)