summaryrefslogtreecommitdiff
path: root/plugins/MessageState
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MessageState')
-rw-r--r--plugins/MessageState/src/messagestate.cpp2
-rw-r--r--plugins/MessageState/src/stdafx.cxx2
-rw-r--r--plugins/MessageState/src/version.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp
index 2dbe670043..40d1d867ad 100644
--- a/plugins/MessageState/src/messagestate.cpp
+++ b/plugins/MessageState/src/messagestate.cpp
@@ -86,7 +86,7 @@ static int OnEventDelivered(WPARAM hContact, LPARAM)
static int OnEventFilterAdd(WPARAM hContact, LPARAM lParam)
{
DBEVENTINFO *dbei = (DBEVENTINFO *)lParam;
- if ((dbei->flags & DBEF_SENT) && CheckProtoSupport(dbei->szModule)) {
+ if (dbei->bSent && CheckProtoSupport(dbei->szModule)) {
time_t dwTime = time(0);
FindContact(hContact)->setSent(dwTime);
if (db_mc_isSub(hContact))
diff --git a/plugins/MessageState/src/stdafx.cxx b/plugins/MessageState/src/stdafx.cxx
index 13f28e1314..f111565f38 100644
--- a/plugins/MessageState/src/stdafx.cxx
+++ b/plugins/MessageState/src/stdafx.cxx
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2012-24 Miranda NG team (https://miranda-ng.org)
+Copyright (C) 2012-25 Miranda NG team (https://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
diff --git a/plugins/MessageState/src/version.h b/plugins/MessageState/src/version.h
index ba2ed74e1f..d0cd14a0dc 100644
--- a/plugins/MessageState/src/version.h
+++ b/plugins/MessageState/src/version.h
@@ -10,4 +10,4 @@
#define __DESCRIPTION "Displays icons in message window showing whether your last outgoing message was read / is still unread."
#define __AUTHOR "MikalaiR"
#define __AUTHORWEB "https://miranda-ng.org/p/MessageState"
-#define __COPYRIGHT "© 2015-24 Miranda NG team"
+#define __COPYRIGHT "© 2015-25 Miranda NG team"