mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-11 16:33:03 +00:00
return sharees without exact match
This commit is contained in:
committed by
Abel García de Prada
parent
7402c89a18
commit
26def4fbe2
+1
-4
@@ -41,11 +41,8 @@ data class ShareeOcsResponse(
|
||||
@Json(name = "users")
|
||||
val users: List<ShareeItem>?
|
||||
) {
|
||||
fun getFlatRepresentation()
|
||||
fun getFlatRepresentationWithoutExact()
|
||||
= ArrayList<ShareeItem>().apply {
|
||||
if(exact != null) {
|
||||
addAll(exact.getFlatRepresentation())
|
||||
}
|
||||
if(users != null) {
|
||||
addAll(users)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user