Pubsub/Unsubscribe was not getting registered

This commit is contained in:
Nathan Fritz 2011-04-14 17:34:33 -07:00
parent 1d891858b6
commit 016aac69f6

View file

@ -237,6 +237,8 @@ class Unsubscribe(ElementBase):
def getJid(self): def getJid(self):
return JID(self._getAttr('jid')) return JID(self._getAttr('jid'))
registerStanzaPlugin(Pubsub, Unsubscribe)
class Subscribe(ElementBase): class Subscribe(ElementBase):
namespace = 'http://jabber.org/protocol/pubsub' namespace = 'http://jabber.org/protocol/pubsub'
name = 'subscribe' name = 'subscribe'