From 7fe708d195a75ec5c75177da6ccf276ac7d1f4b8 Mon Sep 17 00:00:00 2001 From: lilia Date: Sat, 17 Sep 2016 23:55:05 -0700 Subject: [PATCH] Insert keychange advisories On click, these open a verification panel for the relevant contact, within this conversation. // FREEBIE --- _locales/en/messages.json | 10 ++++++++++ background.html | 3 +++ js/models/conversations.js | 19 +++++++++++++++++++ js/models/messages.js | 9 +++++++++ js/signal_protocol_store.js | 13 ++++--------- js/views/conversation_view.js | 12 ++++++++---- js/views/message_list_view.js | 2 ++ js/views/message_view.js | 21 +++++++++++++++++++++ stylesheets/_conversation.scss | 9 +++++++++ stylesheets/manifest.css | 8 ++++++++ 10 files changed, 93 insertions(+), 13 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d39f7561..ed893146 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -458,5 +458,15 @@ "safetyNumbersSettingDescription": { "message": "Require approval of new safety numbers when they change.", "description": "Description for safety numbers setting" + }, + "keychanged": { + "message": "$name$'s safety numbers have changed", + "description": "", + "placeholders": { + "name": { + "content": "$1", + "example": "John" + } + } } } diff --git a/background.html b/background.html index a14fe374..e386799a 100644 --- a/background.html +++ b/background.html @@ -155,6 +155,9 @@ {{ messageNotSent }} {{ resend }} +