mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 07:56:19 +00:00
return sharees without exact match
This commit is contained in:
parent
7402c89a18
commit
26def4fbe2
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user