Filter Etebase collection types

pull/1244/head
Alex Baker 5 years ago
parent c7acafbc62
commit 03d6aa94a0

@ -38,9 +38,9 @@ class EtebaseClient(
)
}
stoken = response.stoken
response.data.forEach {
cache.collectionSet(collectionManager, it)
}
response.data
.filter { it.collectionType == TYPE_TASKS }
.forEach { cache.collectionSet(collectionManager, it) }
response.removedMemberships.forEach {
cache.collectionUnset(collectionManager, it)
}

Loading…
Cancel
Save