On Jun 24, 2008, at 7:00 AM, Lucas Nussbaum wrote:
Am I doing something wrong?

Yes, you need to specify a ressource.
c = Client.new(JID::new('[EMAIL PROTECTED]/res')); c.connect;
c.auth('testtest')
works fine.

Isn't this a bug? Resource is supposed to be optional in XMPP spec right?

I noted this comment in the code. Is this the reason for this? Can we make it work with/without resource?

http://github.com/ln/xmpp4r/tree/master/lib/xmpp4r/client.rb#L26

Glenn

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Xmpp4r-devel mailing list
[email protected]
https://mail.gna.org/listinfo/xmpp4r-devel

Reply via email to