prosody-modules: preparing some modules for publication on

prosody-modules repo
This commit is contained in:
John Livingston 2024-07-26 15:49:18 +02:00
parent b7c595214b
commit 38f2b2af57
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
3 changed files with 5 additions and 4 deletions

View File

@ -6,8 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-only
With this module, you can apply a delay to groupchat messages delivery, so that room moderators can moderate them before other participants receives them. With this module, you can apply a delay to groupchat messages delivery, so that room moderators can moderate them before other participants receives them.
This module is part of peertube-plugin-livechat, and is under the same LICENSE. This module is part of peertube-plugin-livechat, and is under AGPL-3.0.-only license.
This module can work on any Prosody server (version >= 0.12.x). This module can work on any Prosody server (version >= 0.12.x).
This module is still experimental.
## Configuration ## Configuration

View File

@ -13,16 +13,16 @@ There will probably be a XEP proposal for this module behaviour. When done, this
## Configuration ## Configuration
Just enable the module on your MUC component. Just enable the module on your MUC component.
All above configurations are optional. All following configurations are optional.
## poll_groupchat_votes_priority ### poll_groupchat_votes_priority
The priority for the hook that will take into account votes. 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, ...). You can change this, if you have some specific hook that should be done after/before counting votes (slow mode, firewall, ...).
Default: 40 (Prosody checks visitor role with priority of 50, we want this to be after). Default: 40 (Prosody checks visitor role with priority of 50, we want this to be after).
## Strings ### Strings
You can change some defaults strings, if you want for example to localize the poll messages. You can change some defaults strings, if you want for example to localize the poll messages.
Here are the existing strings and default values: Here are the existing strings and default values: