nixos/prosody: wire up modules.mam option
This commit is contained in:
@@ -559,7 +559,7 @@ let
|
||||
|
||||
${lib.concatMapStrings (muc: ''
|
||||
Component ${toLua muc.domain} "muc"
|
||||
modules_enabled = { "muc_mam"; ${optionalString muc.allowners_muc ''"muc_allowners";''} }
|
||||
modules_enabled = {${optionalString cfg.modules.mam ''" muc_mam";''}${optionalString muc.allowners_muc ''" muc_allowners";''} }
|
||||
name = ${toLua muc.name}
|
||||
restrict_room_creation = ${toLua muc.restrictRoomCreation}
|
||||
max_history_messages = ${toLua muc.maxHistoryMessages}
|
||||
|
||||
Reference in New Issue
Block a user