summaryrefslogtreecommitdiff
path: root/plugins/MessageState/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MessageState/src/services.cpp')
-rw-r--r--plugins/MessageState/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MessageState/src/services.cpp b/plugins/MessageState/src/services.cpp
index bc0efb54d8..12474e6685 100644
--- a/plugins/MessageState/src/services.cpp
+++ b/plugins/MessageState/src/services.cpp
@@ -14,7 +14,7 @@ static INT_PTR UpdateService(WPARAM hContact, LPARAM lParam)
auto *p = FindContact(hContact);
time_t currTime = time(0);
- if (currTime > p->dwLastReadTime) {
+ if (currTime >= p->dwLastReadTime) {
p->dwLastReadTime = currTime;
p->type = lParam;