Poll WIP (#231):

* muted participants can't vote
* removed "Choice N" from button labels.
This commit is contained in:
John Livingston
2024-07-05 11:00:37 +02:00
parent 6dda0cc44f
commit 14ffa90208
5 changed files with 11 additions and 10 deletions

View File

@ -20,7 +20,7 @@ All above configurations are optional.
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
Default: 40 (Prosody checks visitor role with priority of 50, we want this to be after).
## Strings

View File

@ -23,7 +23,7 @@ local remove_specific_tags_from_groupchat = module:require("message").remove_spe
local handle_new_occupant_session = module:require("message").handle_new_occupant_session;
local room_restored = module:require("poll").room_restored;
local poll_groupchat_votes_priority = module:get_option_number("poll_groupchat_votes_priority") or 500;
local poll_groupchat_votes_priority = module:get_option_number("poll_groupchat_votes_priority") or 40;
-- new poll creation, get form