"Unvote" a poll

Just testing it now @nbianca and the button now seems to work like before. Thx!

One other question, I use the DiscoursePoll::Poll.vote method to automatically vote in polls. I’ve run into some issues in my code. Can I confirm that during the refactoring of the poll code, you changed the method signature?

My code was assuming a signature of:

def vote(post_id, poll_name, options, user)

and it now appears that after your changes the signature is

def self.vote(user, post_id, poll_name, options)

i.e. the user parameter was 4th but it is now 1st with all other parameters shifting along.

Can I validate that the above assumption is correct and do you think there are any other similar refactoring changes that might trip me up?

BTW, the poll vote removal seems to work well!