Skip to content
Snippets Groups Projects
Commit d1ba40d2 authored by Nicolas Jager's avatar Nicolas Jager
Browse files

lookup : do during an incomming call

- does a lookup adress to update information about the contact.

Change-Id: Ida380de59a67b9e868192d9028c97e22e26551b7
Tuleap: #790
parent 2a1fb2c7
Branches
No related tags found
No related merge requests found
...@@ -99,6 +99,7 @@ SmartPanel::SmartPanel() ...@@ -99,6 +99,7 @@ SmartPanel::SmartPanel()
return; return;
} }
RingD::instance->lookUpAddress(from);
contact->_accountIdAssociated = accountId; contact->_accountIdAssociated = accountId;
auto item = SmartPanelItemsViewModel::instance->findItem(contact); auto item = SmartPanelItemsViewModel::instance->findItem(contact);
...@@ -1403,8 +1404,11 @@ void RingClientUWP::Views::SmartPanel::OnregisteredNameFound(RingClientUWP::Look ...@@ -1403,8 +1404,11 @@ void RingClientUWP::Views::SmartPanel::OnregisteredNameFound(RingClientUWP::Look
/* open the text message page */ /* open the text message page */
auto item = SmartPanelItemsViewModel::instance->findItem(contact); auto item = SmartPanelItemsViewModel::instance->findItem(contact);
SmartPanelItemsViewModel::instance->_selectedItem = item;
summonMessageTextPage(); //if (item->_callStatus != CallStatus::INCOMING_RINGING) {// refacto : do something better
// SmartPanelItemsViewModel::instance->_selectedItem = item;
// summonMessageTextPage();
//}
} }
break; break;
case LookupStatus::INVALID_NAME: case LookupStatus::INVALID_NAME:
...@@ -1421,8 +1425,11 @@ void RingClientUWP::Views::SmartPanel::OnregisteredNameFound(RingClientUWP::Look ...@@ -1421,8 +1425,11 @@ void RingClientUWP::Views::SmartPanel::OnregisteredNameFound(RingClientUWP::Look
/* open the message text with the contact already recorder*/ /* open the message text with the contact already recorder*/
item = SmartPanelItemsViewModel::instance->findItem(contactAlreadyRecorded); item = SmartPanelItemsViewModel::instance->findItem(contactAlreadyRecorded);
SmartPanelItemsViewModel::instance->_selectedItem = item;
summonMessageTextPage(); //if (item->_callStatus != CallStatus::INCOMING_RINGING) { // refacto : do something better
// SmartPanelItemsViewModel::instance->_selectedItem = item;
// summonMessageTextPage();
//}
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment