summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-05-11 18:26:32 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-05-11 18:26:32 +0000
commitfe22a7a7d6c5c07258e5ae975bafd18b016c5d2c (patch)
tree21a33e99fd8f1e87550eaf945a0efc45eb5c285e
parent0d10e1a53f399125e73592fc72e191a04d457b69 (diff)
MessageState: small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16817 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/MessageState/src/clist_extra.cpp4
-rw-r--r--plugins/MessageState/src/messagestate.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MessageState/src/clist_extra.cpp b/plugins/MessageState/src/clist_extra.cpp
index b10b825112..b76a01401f 100644
--- a/plugins/MessageState/src/clist_extra.cpp
+++ b/plugins/MessageState/src/clist_extra.cpp
@@ -2,11 +2,11 @@
HANDLE hExtraIcon = NULL;
-int ExtraIconsApply(WPARAM hContact, LPARAM)
+int ExtraIconsApply(WPARAM hContact, LPARAM force)
{
if (hContact == NULL) return 0;
- if (HasUnread(hContact))
+ if (HasUnread(hContact) || force)
ExtraIcon_SetIcon(hExtraIcon, hContact, Icons[ICON_EXTRA].hIcolib);
else
ExtraIcon_Clear(hExtraIcon, hContact);
diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp
index 7096d0e069..304f22c8f3 100644
--- a/plugins/MessageState/src/messagestate.cpp
+++ b/plugins/MessageState/src/messagestate.cpp
@@ -89,7 +89,7 @@ int OnEventFilterAdd(WPARAM hContact, LPARAM lParam)
DBEVENTINFO *dbei = (DBEVENTINFO *)lParam;
if ((dbei->flags & DBEF_SENT) && CheckProtoSupport(dbei->szModule) && db_get_b(hContact, "Tab_SRMsg", "no_ack", 0))
SetSRMMIcon(hContact, ICON_NOSENT);
- ExtraIconsApply(hContact, 0);
+ ExtraIconsApply(hContact, 1);
return 0;
}