ignore the photos only at comparing private contacts

This commit is contained in:
tibbi 2021-11-19 20:02:49 +01:00
parent 1ec064ef87
commit 8e8a5d331e
1 changed files with 2 additions and 1 deletions

View File

@ -130,6 +130,7 @@ data class Contact(
}
fun getStringToCompare(): String {
val photoToUse = if (isPrivate()) null else photo
return copy(
id = 0,
prefix = "",
@ -147,7 +148,7 @@ data class Contact(
starred = 0,
contactId = 0,
thumbnailUri = "",
photo = null,
photo = photoToUse,
notes = "",
groups = ArrayList(),
websites = ArrayList(),