diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-03 21:48:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-03 21:48:14 +0300 |
commit | 0e32b148b70e4bc454c608f07b21e3e62cc0e942 (patch) | |
tree | 9b97aeec80f32671307f71458ac7e4eb3dfe3c87 /plugins/MessageState/src/messagestate.cpp | |
parent | 4a18c4e02bbe291db8fc7c58ed565fa8afe6725f (diff) |
MessageState: inside local networks only one check could be displayed sometimes (if message delivery takes less than 55ms)
Diffstat (limited to 'plugins/MessageState/src/messagestate.cpp')
-rw-r--r-- | plugins/MessageState/src/messagestate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp index 61a2885639..99e47ced00 100644 --- a/plugins/MessageState/src/messagestate.cpp +++ b/plugins/MessageState/src/messagestate.cpp @@ -81,7 +81,7 @@ static int OnEventFilterAdd(WPARAM hContact, LPARAM lParam) {
DBEVENTINFO *dbei = (DBEVENTINFO *)lParam;
if ((dbei->flags & DBEF_SENT) && CheckProtoSupport(dbei->szModule)) {
- __time64_t dwTime = _time64(0);
+ __time64_t dwTime = GetPreciousTime();
FindContact(hContact)->setSent(dwTime);
if (db_mc_isSub(hContact))
FindContact(db_mc_getMeta(hContact))->setSent(dwTime);
|