How should we implement polls?

I’ve got this basically working, just need to improve the interface and clean things up a bit.

Imgur

@sam is there any way to do an atomic get-and-set on PluginStore rows, or maybe an interface to use Redis-backed locking?

Also when you say this:

Do you mean the user who created the poll shouldn’t be able to change the options after 5 minutes, or that after voting a user can’t change their vote after 5 minutes?

4개의 좋아요