diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-05 23:26:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-05 23:26:16 +0300 |
commit | 40623ba7cb45d4c6123f82b648efe0a0777f47d9 (patch) | |
tree | 8b9c15c5945fc0fd91128998b2c347e7a9fe544b /protocols/JabberG/src | |
parent | 1c4de8a7703b5b45a525210d201bec8c06ab11f1 (diff) |
*sigh* rollback of setting new nick
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_groupchat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|