diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-05-15 14:52:02 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-05-15 14:52:02 +0000 |
commit | b82fefb0f00c12e87fd5178723ee66fecd97d655 (patch) | |
tree | 4ed35cb7448b374ff4d8adc9820f54dc7234d5cb /plugins | |
parent | 97112b871b647ab9841bcfc4e5e47f45833b028e (diff) |
MessageState: fix(?) extra icons error
git-svn-id: http://svn.miranda-ng.org/main/trunk@16833 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MessageState/src/messagestate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MessageState/src/messagestate.cpp b/plugins/MessageState/src/messagestate.cpp index 304f22c8f3..6f64d22273 100644 --- a/plugins/MessageState/src/messagestate.cpp +++ b/plugins/MessageState/src/messagestate.cpp @@ -80,6 +80,8 @@ int OnProtoAck(WPARAM, LPARAM lParam) {
if (pAck->result == ACKRESULT_SUCCESS) SetSRMMIcon(pAck->hContact, ICON_UNREAD);
else if (pAck->result == ACKRESULT_FAILED) SetSRMMIcon(pAck->hContact, ICON_FAILED);
+
+ ExtraIconsApply(pAck->hContact, 0);
}
return 0;
}
@@ -89,7 +91,6 @@ 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, 1);
return 0;
}
|