From 7749258744b8b452c51042842ae781289df83d0a Mon Sep 17 00:00:00 2001 From: parneet-guraya Date: Mon, 6 Nov 2023 01:50:00 +0530 Subject: [PATCH] update the correct observable Signed-off-by: parneet-guraya --- .../java/com/nextcloud/talk/chat/viewmodels/ChatViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())