summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-06-24 16:13:55 +0300
committerdartraiden <wowemuh@gmail.com>2020-06-24 16:13:55 +0300
commit07768cb3b3d3876e67863428118c9e9e2b6c4b18 (patch)
tree9a51375f0b994d85acceb3fb3ddee6a84d12021d /protocols/JabberG/src/jabber_thread.cpp
parent7afea3229b10b22aa7789f9ab69216064d15bb34 (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-xprotocols/JabberG/src/jabber_thread.cpp2
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);
}