mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
add display name management to resource list parsing
This commit is contained in:
parent
416762da1d
commit
27bd89624a
1 changed files with 3 additions and 4 deletions
|
|
@ -66,10 +66,9 @@ list<shared_ptr<Address>> LocalConference::parseResourceLists(string xmlBody) {
|
|||
for(const auto &l : rl->getList()) {
|
||||
for(const auto &entry : l.getEntry()) {
|
||||
shared_ptr<Address> addr = make_shared<Address>(Address(entry.getUri()));
|
||||
// TODO : set display name when possible
|
||||
/*if(!entry.getDisplayName()->present()) {
|
||||
addr->setDisplayName(entry.getDisplayName()->get());
|
||||
}*/
|
||||
if(!entry.getDisplayName().present()) {
|
||||
addr->setDisplayName(entry.getDisplayName().get());
|
||||
}
|
||||
addresses.push_back(addr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue