summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-17 12:08:51 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-17 12:08:51 +0100
commit7cd73b594e8122dddf847953fcfc85ab4d316416 (patch)
treef12265e2bad369810a2ccff78e761761096cf5fd
parent15c6b775ff61a2fb5a7c963ef47407075e0d1954 (diff)
downloadslixmpp-7cd73b594e8122dddf847953fcfc85ab4d316416.tar.gz
slixmpp-7cd73b594e8122dddf847953fcfc85ab4d316416.tar.bz2
slixmpp-7cd73b594e8122dddf847953fcfc85ab4d316416.tar.xz
slixmpp-7cd73b594e8122dddf847953fcfc85ab4d316416.zip
XEP-0223: Fix default access_model, it MUST be whitelist.
-rw-r--r--slixmpp/plugins/xep_0223.py2
1 files changed, 1 insertions, 1 deletions
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):
"""