From 7bc8a221291c2b9d5be2508e4b88d92476a117bd Mon Sep 17 00:00:00 2001 From: Didier Nizard Date: Fri, 23 Sep 2022 14:39:08 +0200 Subject: [PATCH] Bug fix #672 Restore the identity server definition --- changelog.d/672.bugfix | 1 + .../java/im/vector/app/features/home/HomeActivityViewModel.kt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 changelog.d/672.bugfix diff --git a/changelog.d/672.bugfix b/changelog.d/672.bugfix new file mode 100644 index 0000000000..af1ab37ab7 --- /dev/null +++ b/changelog.d/672.bugfix @@ -0,0 +1 @@ +Create DM by selecting an email is not working anymore diff --git a/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt b/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt index 10493fee15..ef9d47d7ee 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt @@ -235,6 +235,9 @@ class HomeActivityViewModel @AssistedInject constructor( .onEach { status -> when (status) { is SyncRequestState.Idle -> { + // Tchap edition : Force Identity server definition + updateIdentityServer() + maybeVerifyOrBootstrapCrossSigning() } else -> Unit