diff options
-rw-r--r-- | plugins/MessageState/src/clist_extra.cpp | 4 | ||||
-rw-r--r-- | plugins/MessageState/src/messagestate.cpp | 2 |
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;
}
|