summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/stanza_pubsub.py
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2010-01-25 10:40:50 -0800
committerNathan Fritz <fritzy@netflint.net>2010-01-25 10:40:50 -0800
commit65dd83d4e174fc5f88ea90b32dd9e3ebf1787294 (patch)
tree9710ceeebb74d49c6ae1926bae7be5188c4a9066 /sleekxmpp/plugins/stanza_pubsub.py
parent6e4c1128ec8f01d31c7714c13db02ff20c7a0a40 (diff)
parent6b130eb94775da8675750a0a9aed75fa6f328137 (diff)
downloadslixmpp-65dd83d4e174fc5f88ea90b32dd9e3ebf1787294.tar.gz
slixmpp-65dd83d4e174fc5f88ea90b32dd9e3ebf1787294.tar.bz2
slixmpp-65dd83d4e174fc5f88ea90b32dd9e3ebf1787294.tar.xz
slixmpp-65dd83d4e174fc5f88ea90b32dd9e3ebf1787294.zip
Merge branch 'master' of github.com:fritzy/SleekXMPP
Diffstat (limited to 'sleekxmpp/plugins/stanza_pubsub.py')
-rw-r--r--sleekxmpp/plugins/stanza_pubsub.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/stanza_pubsub.py b/sleekxmpp/plugins/stanza_pubsub.py
index 900f3c82..58f9c896 100644
--- a/sleekxmpp/plugins/stanza_pubsub.py
+++ b/sleekxmpp/plugins/stanza_pubsub.py
@@ -58,7 +58,7 @@ class Subscription(ElementBase):
namespace = 'http://jabber.org/protocol/pubsub'
name = 'subscription'
plugin_attrib = name
- interfaces = set(('jid', 'node', 'subscription'))
+ interfaces = set(('jid', 'node', 'subscription', 'subid'))
plugin_attrib_map = {}
plugin_tag_map = {}
@@ -207,9 +207,10 @@ class Publish(Items):
namespace = 'http://jabber.org/protocol/pubsub'
name = 'publish'
plugin_attrib = name
- interfaces = set(('node'))
+ interfaces = set(('node',))
plugin_attrib_map = {}
plugin_tag_map = {}
+ subitem = Item
stanzaPlugin(Pubsub, Publish)