diff --git a/vector/src/main/java/im/vector/riotx/features/roomdirectory/createroom/CreateRoomViewModel.kt b/vector/src/main/java/im/vector/riotx/features/roomdirectory/createroom/CreateRoomViewModel.kt index d5a290c1f7..cfe50bb2f7 100644 --- a/vector/src/main/java/im/vector/riotx/features/roomdirectory/createroom/CreateRoomViewModel.kt +++ b/vector/src/main/java/im/vector/riotx/features/roomdirectory/createroom/CreateRoomViewModel.kt @@ -94,7 +94,6 @@ class CreateRoomViewModel @AssistedInject constructor(@Assisted initialState: Cr // Encryption .enableEncryptionWithAlgorithm(state.isEncrypted) - session.createRoom(createRoomParams, object : MatrixCallback { override fun onSuccess(data: String) { setState {