summaryrefslogtreecommitdiff
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:35:20 -0700
commit016aac69f6328a2227e1770e78b44ae8e727b11a (patch)
treedc622fd2ef2ec0d7939a537e88c0d3ea4e1fae0a
parent1d891858b63c1e3ac10a39920c3e65159cfc8d72 (diff)
downloadslixmpp-016aac69f6328a2227e1770e78b44ae8e727b11a.tar.gz
slixmpp-016aac69f6328a2227e1770e78b44ae8e727b11a.tar.bz2
slixmpp-016aac69f6328a2227e1770e78b44ae8e727b11a.tar.xz
slixmpp-016aac69f6328a2227e1770e78b44ae8e727b11a.zip
Pubsub/Unsubscribe was not getting registered
-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'