mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Renames mapToSpaceChildInfoList to mapSpaceChildren in DefaultSpaceService
This commit is contained in:
parent
a891f59397
commit
a5af4783cc
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ internal class DefaultSpaceService @Inject constructor(
|
|||
val spacesResponse = getSpacesResponse(spaceId, suggestedOnly, limit, from)
|
||||
val spaceRootResponse = spacesResponse.getRoot(spaceId)
|
||||
val spaceRoot = spaceRootResponse?.toRoomSummary() ?: createBlankRoomSummary(spaceId)
|
||||
val spaceChildren = spacesResponse.rooms.mapToSpaceChildInfoList(spaceId, spaceRootResponse, knownStateList)
|
||||
val spaceChildren = spacesResponse.rooms.mapSpaceChildren(spaceId, spaceRootResponse, knownStateList)
|
||||
|
||||
return SpaceHierarchyData(
|
||||
rootSummary = spaceRoot,
|
||||
|
@ -167,7 +167,7 @@ internal class DefaultSpaceService @Inject constructor(
|
|||
joinRules = null
|
||||
)
|
||||
|
||||
private fun List<SpaceChildSummaryResponse>?.mapToSpaceChildInfoList(
|
||||
private fun List<SpaceChildSummaryResponse>?.mapSpaceChildren(
|
||||
spaceId: String,
|
||||
spaceRootResponse: SpaceChildSummaryResponse?,
|
||||
knownStateList: List<Event>?,
|
||||
|
|
Loading…
Add table
Reference in a new issue