def exit_from_conference(id, user):
 if checking_conference(id):
  if verification_user(id, user):
   conferences = get_memcached(get_key('conferences'))
   if is_owner_user(id, user):
    delete_conference(id, user)
   del conferences[id]['users'][user]
   set_memcached(get_key('conferences'), conferences)
 return get_new_message_for_user(user)

def exit_from_conference ( id , user ) : if checking_conference ( id ) : if verification_user ( id , user ) : conferences = get_memcached ( get_key ( 'conferences' ) ) if is_owner_user ( id , user ) : delete_conference ( id , user ) del conferences [ id ] [ 'users' ] [ user ] set_memcached ( get_key ( 'conferences' ) , conferences ) return get_new_message_for_user ( user )
remove user from conference if user exited from conference .