mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +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")
|
@Json(name = "users")
|
||||||
val users: List<ShareeItem>?
|
val users: List<ShareeItem>?
|
||||||
) {
|
) {
|
||||||
fun getFlatRepresentation()
|
fun getFlatRepresentationWithoutExact()
|
||||||
= ArrayList<ShareeItem>().apply {
|
= ArrayList<ShareeItem>().apply {
|
||||||
if(exact != null) {
|
|
||||||
addAll(exact.getFlatRepresentation())
|
|
||||||
}
|
|
||||||
if(users != null) {
|
if(users != null) {
|
||||||
addAll(users)
|
addAll(users)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user