From 0f3f093cdc6507ece913cd86187e3bd0f3803e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 24 Nov 2018 18:19:59 +0000 Subject: [PATCH] impromptu: Incorporate feedback from daniel for muc options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- poezio/core/core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()