From 62391a895ad90ef3cab399efebaac5da9700d79e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sun, 17 Jun 2012 23:19:35 -0700 Subject: [PATCH] Update plugin list, fix syntax error. --- sleekxmpp/plugins/__init__.py | 2 ++ sleekxmpp/plugins/xep_0222.py | 2 +- sleekxmpp/plugins/xep_0223.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sleekxmpp/plugins/__init__.py b/sleekxmpp/plugins/__init__.py index efe20253..29964bb7 100644 --- a/sleekxmpp/plugins/__init__.py +++ b/sleekxmpp/plugins/__init__.py @@ -49,6 +49,8 @@ __all__ = [ 'xep_0199', # Ping 'xep_0202', # Entity Time 'xep_0203', # Delayed Delivery + 'xep_0222', # Persistent Storage of Public Data via Pubsub + 'xep_0223', # Persistent Storage of Private Data via Pubsub 'xep_0224', # Attention 'xep_0231', # Bits of Binary 'xep_0249', # Direct MUC Invitations diff --git a/sleekxmpp/plugins/xep_0222.py b/sleekxmpp/plugins/xep_0222.py index 4c976104..ade78b16 100644 --- a/sleekxmpp/plugins/xep_0222.py +++ b/sleekxmpp/plugins/xep_0222.py @@ -26,7 +26,7 @@ class XEP_0222(BasePlugin): dependencies = set(['xep_0163', 'xep_0060', 'xep_0004']) profile = {'pubsub#persist_items': True, - 'pubsub#send_last_published_item', 'never'} + 'pubsub#send_last_published_item': 'never'} def configure(self, node): """ diff --git a/sleekxmpp/plugins/xep_0223.py b/sleekxmpp/plugins/xep_0223.py index 433fe9d0..2ad257df 100644 --- a/sleekxmpp/plugins/xep_0223.py +++ b/sleekxmpp/plugins/xep_0223.py @@ -26,7 +26,7 @@ class XEP_0223(BasePlugin): dependencies = set(['xep_0163', 'xep_0060', 'xep_0004']) profile = {'pubsub#persist_items': True, - 'pubsub#send_last_published_item', 'never'} + 'pubsub#send_last_published_item': 'never'} def configure(self, node): """