Poll WIP (#231):

* various fix and improvements
This commit is contained in:
John Livingston
2024-07-04 14:04:33 +02:00
parent 1c6434630e
commit 4168b2ce41
6 changed files with 49 additions and 9 deletions

View File

@ -13,3 +13,19 @@ There will probably be a XEP proposal for this module behaviour. When done, this
## Configuration
Just enable the module on your MUC component.
All above configurations are optional.
## poll_groupchat_votes_priority
The priority for the hook that will take into account votes.
You can change this, if you have some specific hook that should be done after/before counting votes (slow mode, firewall, ...).
Default: 500
## Strings
You can change some defaults strings, if you want for example to localize the poll messages.
Here are the existing strings and default values:
* poll_string_over: This poll is now over.
* poll_string_vote_instructions: Send a message with an exclamation mark followed by your choice number to vote. Example: !1