Always use roomSummaryQueryParams, and not directly a RoomSummaryQueryParams.Builder()

Also format and add some Kdoc
This commit is contained in:
Benoit Marty 2022-05-24 11:48:08 +02:00 committed by Benoit Marty
parent 12b3afbc50
commit 49a29fb56f

View file

@ -34,7 +34,7 @@ fun roomSummaryQueryParams(init: (RoomSummaryQueryParams.Builder.() -> Unit) = {
} }
/** /**
* Create a [RoomSummaryQueryParams] object, calling [init] with a [RoomSummaryQueryParams.Builder] * Create a [SpaceSummaryQueryParams] object (which is a [RoomSummaryQueryParams]), calling [init] with a [RoomSummaryQueryParams.Builder]
* This is specific for spaces, other filters will be applied after invoking [init] * This is specific for spaces, other filters will be applied after invoking [init]
*/ */
fun spaceSummaryQueryParams(init: (RoomSummaryQueryParams.Builder.() -> Unit) = {}): SpaceSummaryQueryParams { fun spaceSummaryQueryParams(init: (RoomSummaryQueryParams.Builder.() -> Unit) = {}): SpaceSummaryQueryParams {