Show contact name on 'send anyway' dialog instead of $name$

Partial fix for #1914
This commit is contained in:
Scott Nonnenberg 2019-01-22 09:48:22 -08:00
parent 2c99cc8ff5
commit 0eb4760349

View file

@ -1133,7 +1133,10 @@
forceSend({ contact, message }) {
const dialog = new Whisper.ConfirmationDialogView({
message: i18n('identityKeyErrorOnSend'),
message: i18n('identityKeyErrorOnSend', [
contact.getTitle(),
contact.getTitle(),
]),
okText: i18n('sendAnyway'),
resolve: async () => {
await contact.updateVerified();