From: Denis Dolzhenko Date: Fri, 23 Dec 2016 10:11:10 +0000 (+0200) Subject: Checking dpm restriction before sending X-Git-Tag: submit/tizen_3.0/20161223.145755^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F106883%2F2;p=profile%2Fmobile%2Fapps%2Fnative%2Fmessage.git Checking dpm restriction before sending Change-Id: I246676280a38dd5d60319cce7f8b3d98973c5634 Signed-off-by: Denis Dolzhenko --- diff --git a/src/Conversation/Main/Controller/src/Conversation.cpp b/src/Conversation/Main/Controller/src/Conversation.cpp index e9570315..d8caef64 100644 --- a/src/Conversation/Main/Controller/src/Conversation.cpp +++ b/src/Conversation/Main/Controller/src/Conversation.cpp @@ -580,7 +580,7 @@ void Conversation::handleSendResult(const Message &msg, MsgTransport::SendResult strId = "IDS_MSG_BODY_UNABLE_TO_SEND_THIS_MESSAGE_INSERT_YOUR_SIM_CARD_AND_TRY_AGAIN"; break; case MsgTransport::SendDPMRestricted: - showSendDpmNotif(msg.getAddressList()); + // Message service shows own popup for this case. return; default: strId = "IDS_MSGC_BODY_UNABLE_TO_SEND_MESSAGE"; @@ -667,7 +667,7 @@ void Conversation::sendMessage() return; if (m_pRecipPanel && - m_pRecipPanel->getEntryFocus() && + m_pRecipPanel->getEntryFocus() && !m_pRecipPanel->getEntryText().empty() && !m_pRecipPanel->addRecipientsFromEntry()) return;