remove_point(data){
        if(this.parent.room.ideas[data.idea_id].user_socket_id != data.user_socket_id){
            if(this.allow_point(data.idea_id, data.user_socket_id, false)){
                this.update_objects_and_points(data, -1);
                return true;
            }
        }
        return false;
    }
// Removes a point from an idea with specified ID
Removes a point from an idea with specified ID
Removes a point from an idea with specified ID
remove_point(data){
        if(this.parent.room.ideas[data.idea_id].user_socket_id != data.user_socket_id){
            if(this.allow_point(data.idea_id, data.user_socket_id, false)){
                this.update_objects_and_points(data, -1);
                return true;
            }
        }
        return false;
    }
remove_point ( data ) { if ( this . parent . room . ideas [ data . idea_id ] . user_socket_id != data . user_socket_id ) { if ( this . allow_point ( data . idea_id , data . user_socket_id , false ) ) { this . update_objects_and_points ( data , - 1 ) ; return true ; } } return false ; }
Removes a point from an idea with specified ID
Removes a point from an idea with specified ID