mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Fixed app reloading lists too many times at startup when looking for friends in remote contact directories such as LDAP/CardDAV
This commit is contained in:
parent
ac4b04f054
commit
fe54a847c6
2 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,6 @@ class ContactsManager
|
|||
for (sipAddress in friend.addresses) {
|
||||
newContactAddedWithSipUri(friend, sipAddress.asStringUriOnly())
|
||||
}
|
||||
notifyContactsListChanged()
|
||||
}
|
||||
|
||||
@WorkerThread
|
||||
|
|
|
|||
|
|
@ -250,6 +250,7 @@ class ContactNewOrEditViewModel
|
|||
}
|
||||
|
||||
coreContext.contactsManager.newContactAdded(friend)
|
||||
coreContext.contactsManager.notifyContactsListChanged()
|
||||
|
||||
saveChangesEvent.postValue(
|
||||
Event(if (status == Status.OK) friend.refKey.orEmpty() else "")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue