summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2018-11-24 18:19:59 +0000
committerMaxime “pep” Buquet <pep@bouah.net>2018-12-16 16:57:48 +0000
commit0f3f093cdc6507ece913cd86187e3bd0f3803e38 (patch)
tree580b30100d4aaadfbe9e81b6279ec22c6e25eaaf
parentef47c3548a54ebc0418d8d76a5e0dbc55567d31d (diff)
downloadpoezio-0f3f093cdc6507ece913cd86187e3bd0f3803e38.tar.gz
poezio-0f3f093cdc6507ece913cd86187e3bd0f3803e38.tar.bz2
poezio-0f3f093cdc6507ece913cd86187e3bd0f3803e38.tar.xz
poezio-0f3f093cdc6507ece913cd86187e3bd0f3803e38.zip
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>
-rw-r--r--poezio/core/core.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 87f18468..0480f33e 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -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()