diff options
author | George Hazan <george.hazan@gmail.com> | 2025-01-10 18:28:28 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-01-10 18:28:28 +0300 |
commit | 3d30ed65f9e226b7b183b23ce5dba435ec491f0b (patch) | |
tree | 512db95fca97a5b6f028ed4ca05f473cbd11190c /plugins/YARelay/src/main.cpp | |
parent | b58bd0a705dba9a32e4db1420e2d615c6ee6bd41 (diff) |
DBEVENTINFO::timestamp to become 64-bit integer
Diffstat (limited to 'plugins/YARelay/src/main.cpp')
-rw-r--r-- | plugins/YARelay/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index 75ead98cc7..876f6a30a0 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -65,7 +65,7 @@ int ProtoAck(WPARAM,LPARAM lparam) DBEVENTINFO dbei = {};
dbei.szModule = MODULENAME;
- dbei.timestamp = ltime;
+ dbei.iTimestamp = ltime;
dbei.flags = DBEF_SENT | DBEF_UTF;
dbei.eventType = EVENTTYPE_MESSAGE;
dbei.cbBlob = (uint32_t)mir_strlen(p->msgText) + 1;
@@ -118,7 +118,7 @@ static int MessageEventAdded(WPARAM hContact, LPARAM hDBEvent) return 0;
// get time and date
- time_t tTime = dbei.timestamp;
+ time_t tTime = dbei.getUnixtime();
tm *tm_time = gmtime(&tTime);
// build a message
|