diff --git a/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt b/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt index 09074cab258..a6d9db80fe9 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt @@ -72,7 +72,7 @@ class ChatViewModel @Inject constructor(private val repository: ChatRepository) } fun joinRoom(user: User, token: String, roomPassword: String) { - _getRoomViewState.value = JoinRoomStartState + _joinRoomViewState.value = JoinRoomStartState repository.joinRoom(user, token, roomPassword) .subscribeOn(Schedulers.io()) ?.observeOn(AndroidSchedulers.mainThread())