mirror of
https://github.com/etesync/android
synced 2024-12-23 23:18:46 +00:00
Fix applying of groups from journal.
This commit is contained in:
parent
c4daed9391
commit
b2f7cc811f
@ -270,7 +270,14 @@ class LocalAddressBook(
|
||||
return reallyDirty
|
||||
}
|
||||
|
||||
override fun findByUid(uid: String): LocalAddress? = findContactByUID(uid)
|
||||
override fun findByUid(uid: String): LocalAddress? {
|
||||
val found = findContactByUID(uid)
|
||||
if (found != null) {
|
||||
return found
|
||||
} else {
|
||||
return queryGroups("${AndroidGroup.COLUMN_UID}=?", arrayOf(uid)).firstOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
override fun count(): Long {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user