diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-07-21 19:55:01 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-07-21 19:55:01 +0000 |
commit | 6a2fedd96df821afe5e9635ccb1f1f29bd2efc02 (patch) | |
tree | f385f96d4d7a5efb20c08dc63478c0c24820cde1 /protocols/JabberG/src/jabber_archive.cpp | |
parent | af912035d710d9c5743d6ff95ef3b7d422834dc7 (diff) |
Jabber: vc2015 compilation fix. Need to test on servers with mod_archive support!!!
git-svn-id: http://svn.miranda-ng.org/main/trunk@14605 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_archive.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_archive.cpp b/protocols/JabberG/src/jabber_archive.cpp index b7d29783ac..db6261ae42 100644 --- a/protocols/JabberG/src/jabber_archive.cpp +++ b/protocols/JabberG/src/jabber_archive.cpp @@ -296,7 +296,7 @@ void CJabberProto::OnIqResultGetCollection(HXML iqNode, CJabberIqInfo*) dbei.cbBlob = (DWORD)mir_strlen(szEventText);
dbei.flags = DBEF_READ + DBEF_UTF + from;
dbei.pBlob = szEventText;
- dbei.timestamp = tmStart + _ttol(tszSecs) - timezone;
+ dbei.timestamp = TimeZone_ToLocal(tmStart + _ttol(tszSecs));
if (!IsDuplicateEvent(hContact, dbei))
db_event_add(hContact, &dbei);
}
|