'Make a vote in the channel specified by the cid. Returns a deferred that fires when the vote is done.'

def vote_for_channel(self, cid, vote):

    for community in self.session.get_dispersy_instance().get_communities():
        if isinstance(community, AllChannelCommunity):
            return community.disp_create_votecast(cid, vote, int(time.time()))
