SHA256
Новый текст о шифровании в начале личного чата
Шесть абзацев заменены тремя пунктами: Zero-Knowledge Architecture, Self-Custody & Open Source, Absolute Control (ru/en). Формулировка «не имеет доступа к содержимому чатов» — сервер видит метаданные, но не содержимое. Тест обновлён под редакцию от 27.11.2026. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1185,27 +1185,17 @@ function createDmEncryptionNotice() {
|
||||
heading.textContent = `🔒 ${t('screens.chat_view.security_notice.title')}`;
|
||||
notice.append(heading);
|
||||
|
||||
for (const text of [
|
||||
t('screens.chat_view.security_notice.encryption'),
|
||||
t('screens.chat_view.security_notice.servers'),
|
||||
t('screens.chat_view.security_notice.derivation'),
|
||||
t('screens.chat_view.security_notice.rotation'),
|
||||
t('screens.chat_view.security_notice.source'),
|
||||
for (const [label, text] of [
|
||||
[t('screens.chat_view.security_notice.zero_knowledge_label'), t('screens.chat_view.security_notice.zero_knowledge')],
|
||||
[t('screens.chat_view.security_notice.self_custody_label'), t('screens.chat_view.security_notice.self_custody')],
|
||||
[t('screens.chat_view.security_notice.control_label'), t('screens.chat_view.security_notice.control')],
|
||||
]) {
|
||||
const paragraph = document.createElement('p');
|
||||
paragraph.textContent = text;
|
||||
const strong = document.createElement('strong');
|
||||
strong.textContent = `${label} `;
|
||||
paragraph.append(strong, document.createTextNode(text));
|
||||
notice.append(paragraph);
|
||||
}
|
||||
|
||||
const warning = document.createElement('p');
|
||||
const warningLabel = document.createElement('strong');
|
||||
warningLabel.textContent = `${t('screens.chat_view.security_notice.warning_label')} `;
|
||||
warning.append(warningLabel, document.createTextNode(t('screens.chat_view.security_notice.warning')));
|
||||
notice.append(warning);
|
||||
|
||||
const recovery = document.createElement('p');
|
||||
recovery.textContent = t('screens.chat_view.security_notice.recovery');
|
||||
notice.append(recovery);
|
||||
return notice;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user