summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp2
-rw-r--r--protocols/SkypeWeb/src/skype_history_sync.cpp3
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