From 016aac69f6328a2227e1770e78b44ae8e727b11a Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Thu, 14 Apr 2011 17:34:33 -0700 Subject: Pubsub/Unsubscribe was not getting registered --- sleekxmpp/plugins/stanza_pubsub.py | 2 ++ 1 file changed, 2 insertions(+) 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' -- cgit v1.2.3