[android] Show dialog when (pending) contact already exists

If two different people sent the same link, show warning dialog to the
user to prevent a social attack trying to discover contact
relationships.
This commit is contained in:
Torsten Grote
2019-10-15 14:47:42 -03:00
parent 4bf8d4c0e7
commit aa0937e6aa
5 changed files with 117 additions and 18 deletions

View File

@@ -227,6 +227,7 @@
<string name="offline_state">No Internet connection</string>
<string name="duplicate_link_dialog_title">Duplicate Link</string>
<string name="duplicate_link_dialog_text_1">You already have a pending contact with this link: %s</string>
<string name="duplicate_link_dialog_text_1_contact">You already have a contact with this link: %s</string>
<!-- This is a question asking whether two nicknames refer to the same person -->
<string name="duplicate_link_dialog_text_2">Are %s and %s the same person?</string>
<!-- This is a button for answering that two nicknames do indeed refer to the same person. This