Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def plugin_init(self):
- self.description = "In-Band Registration"
- self.xep = "0077"
- self.xmpp.registerHandler(
- Callback('In-Band Registration',
- MatchXPath('{%s}iq/{jabber:iq:register}query' % self.xmpp.default_ns),
- self.__handleRegistration))
- self.xmpp.stanzaPlugin(Iq, Registration)
Add Comment
Please, Sign In to add comment