mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Cleaning
This commit is contained in:
parent
f9e608a790
commit
31b6d9844b
1 changed files with 3 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue