Skip to content

Commit

Permalink
Merge pull request #3437 from nextcloud/backport/3430/stable-17.1
Browse files Browse the repository at this point in the history
[stable-17.1] Solve chat list disappears on configuration change
  • Loading branch information
AndyScherzinger authored Nov 8, 2023
2 parents 42e429c + 7749258 commit d50d352
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit d50d352

Please sign in to comment.