My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
New issue | Search
for
| Advanced search | Search tips
Issue 6: [PATCH] Add ability to register new users with the jabber server
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by saimonmoore, Feb 07, 2008
Simple usage:

im = Jabber::Simple.register(jid, passwd)

* will try and register user on the server
* if successfull, will reconnect and send default status presence
* if not successfull, throws a RegistrationError with a detailed message

#self.register method signature: 

self.register(jid, password, status = nil, status_message = "Available") #So you can still provide 
custom status after registration

Regards,

Saimon
xmpp4r-simple_with_registration.patch
6.8 KB   Download
Comment 1 by saimonmoore, Feb 07, 2008
Not sure where I'm supposed to change the issue type...
Comment 2 by alexkane, Nov 13, 2008
This is great, thanks!
Sign in to add a comment

Hosted by Google Code