diff options
author | Nathan Fritz <fritzy@netflint.net> | 2010-01-15 21:07:28 -0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-01-15 21:07:28 -0800 |
commit | e39a2395d7d5b1490e66316cd46b3f31b787cb37 (patch) | |
tree | 64579f2b44aa6fcf37c18f0029aa4021ade940c2 /sleekxmpp/plugins/stanza_pubsub.py | |
parent | 5345e9a46ba6b862944bcddacd73fba448758109 (diff) | |
download | slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.tar.gz slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.tar.bz2 slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.tar.xz slixmpp-e39a2395d7d5b1490e66316cd46b3f31b787cb37.zip |
xep 30 and 50 always reply from jid iq sent to
Diffstat (limited to 'sleekxmpp/plugins/stanza_pubsub.py')
-rw-r--r-- | sleekxmpp/plugins/stanza_pubsub.py | 5 |
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) |