TSAM-11669 - got rid of checking message-direction(incoming\outgoing) 62/105362/2 submit/tizen_3.0/20161216.105218
authorAndrey Klimenko <and.klimenko@samsung.com>
Fri, 16 Dec 2016 09:22:09 +0000 (11:22 +0200)
committerAndrey Klimenko <and.klimenko@samsung.com>
Fri, 16 Dec 2016 09:26:31 +0000 (01:26 -0800)
Change-Id: I95444b5cbd9af32bde85a1dd6b78efecdb5af145
Signed-off-by: Andrey Klimenko <and.klimenko@samsung.com>
src/MsgThread/Controller/src/ThreadListItem.cpp

index f626eb2dc1cc9aaabe03ee9c6dbc92b2828d12ef..fe746dee80f0f58cc8b0cec2db75babdfdeab465 100644 (file)
@@ -75,7 +75,7 @@ void ThreadListItem::update(const MsgThreadItem &threadItem, bool updateUi)
         } else if (item.isDraft()) {
             state = StatusState;
             m_Status = decorateDraftText(msg("IDS_MSG_BODY_DRAFT_M_STATUS_ABB"));
-        } else if (!item.isRead() && item.getDirection() == Message::MD_Received) {
+        } else if (!item.isRead()) {
             int count = threadItem.getUnreadCount();
             if (count > 0)
             {