impromptu: Incorporate feedback from daniel for muc options

Adding missing MAM bits, removing the allowpm restriction, as clients
should already be using realjids when available.

I am leaving allowinvites for now as I think that should be in there,
but we can align ourselves later on if necessary, I'm not totally
against the idea.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2018-11-24 18:19:59 +00:00
parent ef47c3548a
commit 0f3f093cdc

View file

@ -884,7 +884,10 @@ class Core:
('boolean', 'muc#roomconfig_membersonly', True),
('boolean', 'muc#roomconfig_publicroom', False),
('list-single', 'muc#roomconfig_whois', 'anyone'),
('list-single', 'muc#roomconfig_allowpm', 'none'),
# MAM
('boolean', 'muc#roomconfig_enablearchiving', True), # Prosody
('boolean', 'mam', True), # Ejabberd community
('boolean', 'muc#roomconfig_mam', True), # Ejabberd saas
]
form = self.xmpp['xep_0004'].make_form()