From 07768cb3b3d3876e67863428118c9e9e2b6c4b18 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 24 Jun 2020 16:13:55 +0300 Subject: Revert "Jabber: user name to be encoded to avoid spaces" This reverts commit 2c369e66feacfb3b934b1ec28fcecd179d796ba1. --- protocols/JabberG/src/jabber_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src/jabber_thread.cpp') 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); } -- cgit v1.2.3