peertube-plugin-livechat/prosody-modules/mod_muc_peertubelivechat_roles
John Livingston 5a455fff93
New option to only allow registered users to speak WIP (#233):
* Prosody mod_muc_peertubelivechat_roles module
* Fix ConverseJS to disable the message field when room is unmoderated
  and user is visitor
* Mute/voice anonymous users when changing room configuration.
* Display a specific message to muted anonymous users.
* Default value for mute_anonymous in channel options.
* Feature documentation
2024-06-21 11:37:06 +02:00
..
README.md New option to only allow registered users to speak WIP (#233): 2024-06-21 11:37:06 +02:00
mod_muc_peertubelivechat_roles.lua New option to only allow registered users to speak WIP (#233): 2024-06-21 11:37:06 +02:00

README.md

mod_muc_peertubelivechat_roles

This module is a custom module that handles default roles for users.

This module is part of peertube-plugin-livechat, and is under the same LICENSE.

Features

Only registered users can talk

This feature will set default user roles to 'visitor' for anonymous users.

The feature is associated to a room configuration field (muc#roomconfig_x_peertubelivechat_mute_anonymous). The default value for this field will be set by mod_muc_http_defaults (which is a custom version of the original module).

Note: currently, all anonymous users are joining the original Peertube instance. This means we only have to handle anonymous users on the local "anon" virtualhost.

If anonymous users are muted, the room disco features will include "x_peertubelivechat_mute_anonymous". This is used by the ConverseJs frontend to display a message explaining why the user is muted.

Only Peertube channel followers can talk

This feature will come later.