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 09074cab25..a6d9db80fe 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())