diff options
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);
}
|