diff --git a/vector/src/main/java/im/vector/app/core/utils/Dialogs.kt b/vector/src/main/java/im/vector/app/core/utils/Dialogs.kt
index a89eefa4a0..ad62b0fcb1 100644
--- a/vector/src/main/java/im/vector/app/core/utils/Dialogs.kt
+++ b/vector/src/main/java/im/vector/app/core/utils/Dialogs.kt
@@ -42,8 +42,8 @@ fun Context.displayInWebView(url: String) {
fun Context.showIdentityServerConsentDialog(configuredIdentityServer: String?, policyLinkCallback: () -> Unit, consentCallBack: (() -> Unit)) {
MaterialAlertDialogBuilder(this)
- .setTitle(R.string.identity_server_consent_dialog_title)
- .setMessage(getString(R.string.identity_server_consent_dialog_content_2, configuredIdentityServer ?: ""))
+ .setTitle(getString(R.string.identity_server_consent_dialog_title_2, configuredIdentityServer ?: ""))
+ .setMessage(R.string.identity_server_consent_dialog_content_2)
.setPositiveButton(R.string.yes) { _, _ ->
consentCallBack.invoke()
}
diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml
index c2ddc3321c..c70d26a7ea 100644
--- a/vector/src/main/res/values/strings.xml
+++ b/vector/src/main/res/values/strings.xml
@@ -2363,13 +2363,14 @@
Send emails and phone numbers
You have given your consent to send emails and phone numbers to this identity server to discover other users from your contacts.
You have not given your consent to send emails and phone numbers to this identity server to discover other users from your contacts.
- Your contacts are private. You\'ll need to share your contact info to find people you know.
+ Your contacts are private. To discover users from your contacts, we need your permission to send contact info to your identity server.
Revoke my consent
Give consent
Send emails and phone numbers
+ Send emails and phone numbers to %s
In order to discover existing contacts you know, do you accept to send your contact data (phone numbers and/or emails) to the configured identity server (%1$s)?\n\nFor more privacy, the sent data will be hashed before being sent.
- Your contacts can\'t find you, and you can\'t find them. In order to see each other you must share your contact info with your identity server (%s).\n\nYour data will be sent securely.
+ To discover existing contacts, you need to send contact info to your identity server.\n\nWe hash your data before sending for privacy. Do you consent to send this info?
Policy
Enter an identity server URL