summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-10 09:34:21 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-10 09:34:21 +0000
commite0ec38eb49bfd8dcddd4e46cbbca4fed98028b01 (patch)
tree417af25645acd62fd126e02951c52763dfcd5580 /protocols
parent3506c2bc0bb148120db8e8c7c6a07cf3e683cc50 (diff)
SkypeWeb: small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@13505 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-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);