diff --git a/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt b/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt index ae9ab4ca63..f1731caf76 100644 --- a/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt +++ b/vector/src/main/java/im/vector/app/features/spaces/create/CreateSpaceViewModelTask.kt @@ -58,8 +58,13 @@ class CreateSpaceViewModelTask @Inject constructor( override suspend fun execute(params: CreateSpaceTaskParams): CreateSpaceTaskResult { val spaceID = try { - session.spaceService().createSpace(params.spaceName, params.spaceTopic, params.spaceAvatar, - params.isPublic, params.spaceAlias) + session.spaceService().createSpace( + params.spaceName, + params.spaceTopic, + params.spaceAvatar, + params.isPublic, + params.spaceAlias + ) } catch (failure: Throwable) { return CreateSpaceTaskResult.FailedToCreateSpace(failure) }