SleekXMPP icon indicating copy to clipboard operation
SleekXMPP copied to clipboard

How to call register method?

Open pythonshiva opened this issue 10 years ago • 1 comments

In the given example https://github.com/fritzy/SleekXMPP/blob/develop/examples/register_account.py , the register method is called when the event is raised. But here i need to call it when a user want to register( I need to catch that return whether the registration is successful or not). If i called that register function without register handler i am getting error. Please let me know how to do this..?

pythonshiva avatar Jul 01 '15 07:07 pythonshiva

Are you trying to create a bot that will get an event when any other user tries to register with the server?

The example code shows how to handle in-band registration if the server is configured to allow it.

bear avatar Jul 05 '15 19:07 bear