From 7cd73b594e8122dddf847953fcfc85ab4d316416 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 17 Jan 2019 12:08:51 +0100 Subject: [PATCH] XEP-0223: Fix default access_model, it MUST be whitelist. --- slixmpp/plugins/xep_0223.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp/plugins/xep_0223.py b/slixmpp/plugins/xep_0223.py index 65d591f6..18875eee 100644 --- a/slixmpp/plugins/xep_0223.py +++ b/slixmpp/plugins/xep_0223.py @@ -26,7 +26,7 @@ class XEP_0223(BasePlugin): dependencies = {'xep_0163', 'xep_0060', 'xep_0004'} profile = {'pubsub#persist_items': True, - 'pubsub#send_last_published_item': 'never'} + 'pubsub#access_model': 'whitelist'} def configure(self, node, ifrom=None, callback=None, timeout=None): """