From: Denis Dolzhenko Date: Thu, 1 Dec 2016 12:51:23 +0000 (+0200) Subject: TizenRefApp-7757 Do not show "Add to contacts" and "Make voice call" menu-options... X-Git-Tag: submit/tizen_3.0/20161205.153030~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26d7c28a0e974bb3b3ab0b1a500a378b8684257b;p=profile%2Fmobile%2Fapps%2Fnative%2Fmessage.git TizenRefApp-7757 Do not show "Add to contacts" and "Make voice call" menu-options for hidden recipients Change-Id: Id958e114619dba4b292d7abb17c45f0bd986a662 Signed-off-by: Denis Dolzhenko --- diff --git a/src/Conversation/Main/Controller/src/Conversation.cpp b/src/Conversation/Main/Controller/src/Conversation.cpp index e3b7ec5f..b0918507 100644 --- a/src/Conversation/Main/Controller/src/Conversation.cpp +++ b/src/Conversation/Main/Controller/src/Conversation.cpp @@ -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,