mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Fixed contact that can't be opened in-app because it has no refKey
This commit is contained in:
parent
e012d45c10
commit
bf1140fb38
1 changed files with 6 additions and 0 deletions
|
|
@ -391,6 +391,12 @@ class ContactLoader : LoaderManager.LoaderCallbacks<Cursor> {
|
|||
if (found == null) {
|
||||
val newFriend = friends[key]
|
||||
if (newFriend != null) {
|
||||
if (newFriend.refKey == null) {
|
||||
Log.w(
|
||||
"$TAG Found friend [${newFriend.name}] with no refKey, using ID [$key]"
|
||||
)
|
||||
newFriend.refKey = key
|
||||
}
|
||||
Log.i(
|
||||
"$TAG Friend [${newFriend.name}] with ref key [${newFriend.refKey}] not found in currently stored list, adding it"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue