diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-30 17:28:03 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-30 17:28:03 +0000 |
commit | 6c764151d2fbb2b6ecfdd68bcd48b86e36a773df (patch) | |
tree | f9c851fcb5cbf8ba0ede3e02a81ac4805ab5af41 | |
parent | b03e0c7a4c064ef4a6a4a8c416980216083e605b (diff) |
SkypeWeb: Encoding fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13909 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 2 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_history_sync.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 1a3542b26f..96a6e450e4 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -412,7 +412,7 @@ void CSkypeProto::AddMessageToChat(const TCHAR *chat_id, const TCHAR *from, cons gce.time = timestamp;
gce.ptszUID = from;
ptrA szHtml(RemoveHtml(content));
- ptrT tszHtml(mir_a2t(szHtml));
+ ptrT tszHtml(mir_utf8decodeT(szHtml));
if (!isAction)
{
gce.ptszText = tszHtml;
diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp index 3af754abab..fce18b160b 100644 --- a/protocols/SkypeWeb/src/skype_history_sync.cpp +++ b/protocols/SkypeWeb/src/skype_history_sync.cpp @@ -236,8 +236,9 @@ void CSkypeProto::OnSyncHistory(const NETLIBHTTPREQUEST *response) if (db_get_dw(hContact, m_szModuleName, "LastMsgTime", 0) < composeTime)
{
PushRequest(new GetHistoryRequest(RegToken, skypename, 100, false, 0, Server), &CSkypeProto::OnGetServerHistory);
- HistorySynced = true;
}
}
}
+
+ HistorySynced = true;
}
\ No newline at end of file |