Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neil Alexander
element-android
Commits
31b6d984
Commit
31b6d984
authored
May 10, 2021
by
Valere
Browse files
Cleaning
parent
f9e608a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
vector/src/main/java/im/vector/app/features/spaces/manage/SpaceManageRoomsViewModel.kt
View file @
31b6d984
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment