diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-06 17:29:23 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-06-06 17:29:23 +0000 |
commit | d4b7afde39bc9bbba90dfe8ada90eb2495e18a11 (patch) | |
tree | 2ed4992144548a24c1c6648df94193b83b7d70b8 /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | 4cf8d843e758b11eb1c6156f9aeeb46d1810b61b (diff) |
SkypeWeb: Fix encoding problem. Fix login case sensitivy in IsMe(). Version bump.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14025 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index a990eb669b..0cc32e4433 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -186,9 +186,9 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node) _tcsftime_l(time, sizeof(time), L"%X %x", localtime(×tamp), locale);
_free_locale(locale);
- msg.AppendFormat("%s\n%s %s:\n%s", dbMsgText, Translate("Edited at"), _T2A(time), message);
+ msg.AppendFormat("%s\n%s %s:\n%s", mir_utf8decodeA(dbMsgText), Translate("Edited at"), T2Utf(time), mir_utf8decodeA(message));
db_event_delete(hContact, dbevent);
- AddMessageToDb(hContact, dbEventTimestamp, DBEF_UTF, skypeEditedId.c_str(), msg.GetBuffer());
+ AddMessageToDb(hContact, dbEventTimestamp, DBEF_UTF, skypeEditedId.c_str(), mir_utf8encode(msg.GetBuffer()));
}
else OnReceiveMessage(clientMsgId.c_str(), conversationLink.c_str(), timestamp, message, emoteOffset);
}
|