From 40623ba7cb45d4c6123f82b648efe0a0777f47d9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2019 23:26:16 +0300 Subject: *sigh* rollback of setting new nick --- protocols/JabberG/src/jabber_groupchat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp index cbbada664e..3fba354194 100644 --- a/protocols/JabberG/src/jabber_groupchat.cpp +++ b/protocols/JabberG/src/jabber_groupchat.cpp @@ -743,6 +743,7 @@ static VOID CALLBACK JabberGroupchatChangeNickname(void* arg) if (param->ppro->EnterString(szBuffer, szTitle, ESF_COMBO, "gcNick_")) { T2Utf newNick(szBuffer); + replaceStr(item->nick, newNick); param->ppro->SendPresenceTo(param->ppro->m_iStatus, MakeJid(item->jid, newNick)); } } @@ -836,7 +837,6 @@ void CJabberProto::GroupchatProcessPresence(const TiXmlElement *node) GcInit(item); item->iChatState = 0; - replaceStr(item->nick, nick); // Update status of room participant int status = ID_STATUS_ONLINE; -- cgit v1.2.3