Commit 31b6d984 authored by Valere's avatar Valere
Browse files

Cleaning

parent f9e608a7
......@@ -129,13 +129,12 @@ class SpaceManageRoomsViewModel @AssistedInject constructor(
val errorList = mutableListOf<Throwable>()
selection.forEach { info ->
try {
// session.spaceService().getSpace(state.spaceId)?.setChildrenSuggested(roomId, suggested)
session.spaceService().getSpace(state.spaceId)?.addChildren(
roomId = info.childRoomId,
viaServers = info?.viaServers ?: emptyList(),
order = info?.order,
viaServers = info.viaServers,
order = info.order,
suggested = suggested,
autoJoin = info?.autoJoin ?: false
autoJoin = info.autoJoin
)
} catch (failure: Throwable) {
errorList.add(failure)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment