ports/net-im/libjingle/files/patch-talk__xmpp__saslplainmechanism.h
Mario Sergio Fujikawa Ferreira e0d196a5cb Do not try to send the credentials full JID since jabber servers
only expect the JID user node.

Submitted by:	colby.dillion@gmail.com
Obtained from:	google-talk-open newsgroup
2006-05-10 11:53:40 +00:00

11 lines
453 B
C

--- talk/xmpp/saslplainmechanism.h.orig Wed May 10 07:43:35 2006
+++ talk/xmpp/saslplainmechanism.h Wed May 10 07:44:01 2006
@@ -48,7 +48,7 @@
FormatXmppPassword credential;
credential.Append("\0", 1);
- credential.Append(user_jid_.Str());
+ credential.Append(user_jid_.node());
credential.Append("\0", 1);
credential.Append(&password_);
el->AddText(Base64EncodeFromArray(credential.GetData(), credential.GetLength()));