summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_poll_processing.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_poll_processing.cpp b/protocols/SkypeWeb/src/skype_poll_processing.cpp
index 7682006a48..999b803a58 100644
--- a/protocols/SkypeWeb/src/skype_poll_processing.cpp
+++ b/protocols/SkypeWeb/src/skype_poll_processing.cpp
@@ -159,6 +159,8 @@ void CSkypeProto::ProcessConversationUpdateRes(JSONNODE *node)
{
CMStringA szToken2 = consumptionhorizon.Tokenize(";", iStart).Trim();
+ szToken2.Truncate(szToken2.GetLength() - 3);
+
time_t evttime = atoi(szToken2.GetBuffer());
db_set_dw(hContact, m_szModuleName, "LastMsgReadTime", evttime);