summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-06-17 23:19:35 -0700
committerLance Stout <lancestout@gmail.com>2012-06-18 22:08:38 -0700
commit62391a895ad90ef3cab399efebaac5da9700d79e (patch)
tree78022abe497c8a94b5dafb0b121d59cf16917593
parent9bcdd7d18f1d7d10efd4a963b852b78df3332f7d (diff)
downloadslixmpp-62391a895ad90ef3cab399efebaac5da9700d79e.tar.gz
slixmpp-62391a895ad90ef3cab399efebaac5da9700d79e.tar.bz2
slixmpp-62391a895ad90ef3cab399efebaac5da9700d79e.tar.xz
slixmpp-62391a895ad90ef3cab399efebaac5da9700d79e.zip
Update plugin list, fix syntax error.
-rw-r--r--sleekxmpp/plugins/__init__.py2
-rw-r--r--sleekxmpp/plugins/xep_0222.py2
-rw-r--r--sleekxmpp/plugins/xep_0223.py2
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):
"""