summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iqid.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_iqid.cpp
parent7afea3229b10b22aa7789f9ab69216064d15bb34 (diff)
Revert "Jabber: user name to be encoded to avoid spaces"
This reverts commit 2c369e66feacfb3b934b1ec28fcecd179d796ba1.
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_iqid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp
index 5f8736b31e..690e936ad8 100755
--- a/protocols/JabberG/src/jabber_iqid.cpp
+++ b/protocols/JabberG/src/jabber_iqid.cpp
@@ -239,7 +239,7 @@ void CJabberProto::OnIqResultGetAuth(const TiXmlElement *iqNode, CJabberIqInfo*)
if (!mir_strcmp(type, "result")) {
XmlNodeIq iq(AddIQ(&CJabberProto::OnIqResultSetAuth, JABBER_IQ_TYPE_SET));
auto *query = iq << XQUERY("jabber:iq:auth");
- query << XCHILD("username", EncodeJid(m_ThreadInfo->conn.username));
+ query << XCHILD("username", m_ThreadInfo->conn.username);
if (XmlFirstChild(queryNode, "digest") != nullptr && m_ThreadInfo->szStreamId) {
JabberShaStrBuf buf;
char text[200];