diff options
author | dartraiden <wowemuh@gmail.com> | 2020-06-24 16:13:55 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2020-06-24 16:13:55 +0300 |
commit | 07768cb3b3d3876e67863428118c9e9e2b6c4b18 (patch) | |
tree | 9a51375f0b994d85acceb3fb3ddee6a84d12021d /protocols/JabberG/src/jabber_thread.cpp | |
parent | 7afea3229b10b22aa7789f9ab69216064d15bb34 (diff) |
Revert "Jabber: user name to be encoded to avoid spaces"
This reverts commit 2c369e66feacfb3b934b1ec28fcecd179d796ba1.
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 1a631ad89a..e911d7f33d 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -561,7 +561,7 @@ void CJabberProto::PerformIqAuth(ThreadData *info) {
if (!info->bIsReg) {
info->send(XmlNodeIq(AddIQ(&CJabberProto::OnIqResultGetAuth, JABBER_IQ_TYPE_GET))
- << XQUERY("jabber:iq:auth") << XCHILD("username", EncodeJid(info->conn.username)));
+ << XQUERY("jabber:iq:auth") << XCHILD("username", info->conn.username));
}
else PerformRegistration(info);
}
|