From b82fefb0f00c12e87fd5178723ee66fecd97d655 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 15 May 2016 14:52:02 +0000 Subject: MessageState: fix(?) extra icons error git-svn-id: http://svn.miranda-ng.org/main/trunk@16833 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MessageState/src/messagestate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3