diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-04 20:44:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-04 20:46:23 +0300 |
commit | 68ce4cecf6a93af18370383e504f09856cea5d5a (patch) | |
tree | b8581966522d45d83f21f1dd1dc35585cc886229 /protocols/JabberG | |
parent | de1d038fcae41f1e4596ae24c0184a4122ed60bf (diff) |
fixes #1912 (Jabber: Unicode doesn't work correctly in nickname changing form)
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/src/jabber_chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_chat.cpp b/protocols/JabberG/src/jabber_chat.cpp index 0eaf3012df..c8d26b879d 100644 --- a/protocols/JabberG/src/jabber_chat.cpp +++ b/protocols/JabberG/src/jabber_chat.cpp @@ -1257,7 +1257,7 @@ static void sttLogListHook(CJabberProto *ppro, JABBER_LIST_ITEM *item, GCHOOK* g if (ppro->EnterString(szBuffer, szTitle, ESF_COMBO, "gcNick_")) {
if (ppro->ListGetItemPtr(LIST_CHATROOM, roomJid) != nullptr) {
char text[1024];
- mir_snprintf(text, "%s/%s", roomJid.get(), szBuffer.c_str());
+ mir_snprintf(text, "%s/%s", roomJid.get(), T2Utf(szBuffer).get());
ppro->SendPresenceTo(ppro->m_iStatus == ID_STATUS_INVISIBLE ? ID_STATUS_ONLINE : ppro->m_iStatus, text);
}
}
|