blaine / xmpp4r-simple

Jabber::Simple
GNU General Public License v2.0
140 stars 83 forks source link

[PATH] Add ability to register new users with the jabber server #5

Open mtodd opened 15 years ago

mtodd commented 15 years ago

Originally submitted by saimonmoore with a path included; please refer to http://code.google.com/p/xmpp4r-simple/issues/detail?id=6#makechanges

Simple usage:

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

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