diff options
author | George Hazan <george.hazan@gmail.com> | 2014-04-02 11:04:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-04-02 11:04:09 +0000 |
commit | a1cc2175f61db72a71b26c5be3787f977c021cfb (patch) | |
tree | e2e7dd7439577161323582769b4d04ba39373dc1 /plugins/TabSRMM/src/mim.cpp | |
parent | 7c783b8ec0603347548964bacf893de818d03ecf (diff) |
DBEVENTINFO::isMarkRead() - new helper to simplify bit logic
git-svn-id: http://svn.miranda-ng.org/main/trunk@8825 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index 53dcd6aa31..0425068261 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -527,7 +527,7 @@ int CMimAPI::MessageEventAdded(WPARAM hContact, LPARAM lParam) BOOL isCustomEvent = IsCustomEvent(dbei.eventType);
BOOL isShownCustomEvent = DbEventIsForMsgWindow(&dbei);
- if ((dbei.flags & (DBEF_READ | DBEF_SENT)) || (isCustomEvent && !isShownCustomEvent))
+ if (dbei.markedRead() || (isCustomEvent && !isShownCustomEvent))
return 0;
CallServiceSync(MS_CLIST_REMOVEEVENT, hContact, 1);
|