From 6c5133842f63661d5bcf3de9b437f75720ceb84b Mon Sep 17 00:00:00 2001 From: "Matthieu (plcp) Daumas" Date: Fri, 19 Jul 2024 12:14:01 +0200 Subject: [PATCH] Warn about unencrypted attachments --- CHANGELOG | 4 ++++ webapp/src/hooks.tsx | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 8a6e3d3..13c982a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ + +webapp: +* warn about unencrypted attachments limitation + 0.9.1 (19/05/2022) ----- diff --git a/webapp/src/hooks.tsx b/webapp/src/hooks.tsx index 812319e..de12fb7 100644 --- a/webapp/src/hooks.tsx +++ b/webapp/src/hooks.tsx @@ -316,7 +316,9 @@ export default class E2EEHooks { for (const [userID, _] of newPubkeys) { msg += ' @' + getUser(this.store.getState(), userID).username; } + this.sendEphemeralPost(msg, chanID); + this.sendEphemeralPost('(attachments are not encrypted and are sent in plaintext)', chanID); } await storeChannelPubkeys(chanID, pubkeyValues);