summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2011-04-14 17:34:33 -0700
committerNathan Fritz <nathan@andyet.net>2011-04-14 17:34:33 -0700
commite919906c8c4af29d0d85f0f3537d99dcf37e8cb5 (patch)
treef937c5198cf1668706512b1190a43257f80157b5 /sleekxmpp/plugins
parent46dc6eac887907109c97fc218498bcc894756659 (diff)
downloadslixmpp-e919906c8c4af29d0d85f0f3537d99dcf37e8cb5.tar.gz
slixmpp-e919906c8c4af29d0d85f0f3537d99dcf37e8cb5.tar.bz2
slixmpp-e919906c8c4af29d0d85f0f3537d99dcf37e8cb5.tar.xz
slixmpp-e919906c8c4af29d0d85f0f3537d99dcf37e8cb5.zip
Pubsub/Unsubscribe was not getting registered
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/stanza_pubsub.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/stanza_pubsub.py b/sleekxmpp/plugins/stanza_pubsub.py
index 2d809a35..b5964537 100644
--- a/sleekxmpp/plugins/stanza_pubsub.py
+++ b/sleekxmpp/plugins/stanza_pubsub.py
@@ -237,6 +237,8 @@ class Unsubscribe(ElementBase):
def getJid(self):
return JID(self._getAttr('jid'))
+registerStanzaPlugin(Pubsub, Unsubscribe)
+
class Subscribe(ElementBase):
namespace = 'http://jabber.org/protocol/pubsub'
name = 'subscribe'