TizenRefApp-7757 Do not show "Add to contacts" and "Make voice call" menu-options... 84/101584/1
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Thu, 1 Dec 2016 12:51:23 +0000 (14:51 +0200)
committerDenis Dolzhenko <d.dolzhenko@samsung.com>
Thu, 1 Dec 2016 12:51:23 +0000 (14:51 +0200)
Change-Id: Id958e114619dba4b292d7abb17c45f0bd986a662
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/Conversation/Main/Controller/src/Conversation.cpp

index e3b7ec5f3b620ea112592bcc8d259055a46dc179..b0918507b5f0e7e86bbeff38f8327325af503a49 100644 (file)
@@ -945,7 +945,7 @@ void Conversation::showMainPopup()
         {
             popup.appendItem(*new PopupPersonIdListItem(popup, msg("IDS_MSG_OPT_VIEW_CONTACT_DETAILS_ABB"), contactAddress->getOwnerId(),
                     contactAddress->getOwnerType(), POPUPLIST_ITEM_PRESSED_CB(Conversation, onViewContactDetailsItemPressed), this));
-        } else {
+        } else if (!isHiddenAddress()) {
             popup.appendItem(*new PopupAddressListItem(popup, msg("IDS_MSG_OPT_MAKE_VOICE_CALL"), adress,
                     POPUPLIST_ITEM_PRESSED_CB(Conversation, onMakeVoiceItemPressed), this));
             popup.appendItem(*new PopupAddressListItem(popup, msg("IDS_MSG_OPT_CREATE_CONTACT_ABB"), adress,