mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-18 03:00:18 +00:00
Pubsub/Unsubscribe was not getting registered
This commit is contained in:
parent
46dc6eac88
commit
e919906c8c
1 changed files with 2 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue