Fixed issue with SIP addresses not complete in addressbook
This commit is contained in:
parent
7223bc481c
commit
39ffe40f1a
1 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,8 @@ public class SearchContactsListAdapter extends BaseAdapter {
|
|||
for (LinphoneContact contact : contacts) {
|
||||
for (LinphoneNumberOrAddress noa : contact.getNumbersOrAddresses()) {
|
||||
if (noa.isSIPAddress()) {
|
||||
ContactAddress ca = new ContactAddress(contact , noa.getValue(), contact.isFriend());
|
||||
Address address = LinphoneManager.getLc().interpretUrl(noa.getValue());
|
||||
ContactAddress ca = new ContactAddress(contact , address.asString(), contact.isFriend());
|
||||
list.add(ca);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue