mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-18 13:00:18 +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>()
|
val errorList = mutableListOf<Throwable>()
|
||||||
selection.forEach { info ->
|
selection.forEach { info ->
|
||||||
try {
|
try {
|
||||||
// session.spaceService().getSpace(state.spaceId)?.setChildrenSuggested(roomId, suggested)
|
|
||||||
session.spaceService().getSpace(state.spaceId)?.addChildren(
|
session.spaceService().getSpace(state.spaceId)?.addChildren(
|
||||||
roomId = info.childRoomId,
|
roomId = info.childRoomId,
|
||||||
viaServers = info?.viaServers ?: emptyList(),
|
viaServers = info.viaServers,
|
||||||
order = info?.order,
|
order = info.order,
|
||||||
suggested = suggested,
|
suggested = suggested,
|
||||||
autoJoin = info?.autoJoin ?: false
|
autoJoin = info.autoJoin
|
||||||
)
|
)
|
||||||
} catch (failure: Throwable) {
|
} catch (failure: Throwable) {
|
||||||
errorList.add(failure)
|
errorList.add(failure)
|
||||||
|
|
Loading…
Add table
Reference in a new issue