mirror of
https://github.com/etesync/android
synced 2024-12-24 23:48:35 +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
|
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 {
|
override fun count(): Long {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user