Added Allowners muc module to prosody and jitsi-meet
This commit is contained in:
parent
cef6f1b83c
commit
2411e6eecd
@ -280,6 +280,7 @@ in
|
||||
User = "jitsi-videobridge";
|
||||
Group = "jitsi-meet";
|
||||
|
||||
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
|
||||
CapabilityBoundingSet = "";
|
||||
NoNewPrivileges = true;
|
||||
ProtectSystem = "strict";
|
||||
|
@ -342,7 +342,14 @@ let
|
||||
question can be created again.
|
||||
'';
|
||||
};
|
||||
|
||||
allowners_muc = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Add module allowners, any user in chat is able to
|
||||
kick other. Usefull in jitsi-meet to kick ghosts.
|
||||
'';
|
||||
};
|
||||
vcard_muc = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
@ -856,7 +863,7 @@ in
|
||||
|
||||
${lib.concatMapStrings (muc: ''
|
||||
Component ${toLua muc.domain} "muc"
|
||||
modules_enabled = { "muc_mam"; ${optionalString muc.vcard_muc ''"vcard_muc";'' } }
|
||||
modules_enabled = { "muc_mam"; ${optionalString muc.vcard_muc ''"vcard_muc";'' } ${optionalString muc.allowners_muc ''"muc_allowners";'' } }
|
||||
name = ${toLua muc.name}
|
||||
restrict_room_creation = ${toLua muc.restrictRoomCreation}
|
||||
max_history_messages = ${toLua muc.maxHistoryMessages}
|
||||
|
@ -187,6 +187,16 @@ in
|
||||
off if you want to configure it manually.
|
||||
'';
|
||||
};
|
||||
|
||||
prosody.allowners_muc = mkOption {
|
||||
type = bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Add module allowners, any user in chat is able to
|
||||
kick other. Usefull in jitsi-meet to kick ghosts.
|
||||
'';
|
||||
};
|
||||
|
||||
prosody.lockdown = mkOption {
|
||||
type = bool;
|
||||
default = false;
|
||||
@ -240,6 +250,7 @@ in
|
||||
{
|
||||
domain = "conference.${cfg.hostName}";
|
||||
name = "Jitsi Meet MUC";
|
||||
allowners_muc = cfg.prosody.allowners_muc;
|
||||
roomLocking = false;
|
||||
roomDefaultPublicJids = true;
|
||||
extraConfig = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user