TizenRefApp-6064 Invalid Recipient can be Added from Contacts 48/65848/1
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Wed, 13 Apr 2016 10:21:01 +0000 (13:21 +0300)
committerDenis Dolzhenko <d.dolzhenko@samsung.com>
Wed, 13 Apr 2016 10:21:01 +0000 (13:21 +0300)
Change-Id: I6f9f0e0b21942ba26d34a3930c80e8dc9810d054
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/Conversation/Recipients/Controller/src/ConvRecipientsPanel.cpp

index 34456ee..c13f247 100644 (file)
@@ -239,7 +239,7 @@ void ConvRecipientsPanel::onContactsPicked(const std::list<int> &numberIdList)
     {
         ContactPersonNumberRef num = m_App.getContactManager().getContactPersonNumber(phoneNumId);
         if(num)
-            duplicateFound |= appendItem(num->getAddress(), num->getDispName(), MsgAddress::Phone) == MbeRecipients::DuplicatedStatus;
+            duplicateFound |= appendItem(num->getAddress(), num->getDispName(), MsgAddress::UnknownAddressType) == MbeRecipients::DuplicatedStatus;
     }
 
     if(!duplicateFound)