feat: Save the secret to encrypt and decrypt messages. Next: Send it in a 'member added' message.

This commit is contained in:
Hocuri
2025-07-11 15:56:03 +02:00
parent 47bf4da1fe
commit 8653fdbd8e
7 changed files with 74 additions and 14 deletions

View File

@@ -1158,6 +1158,7 @@ impl MimeFactory {
};
let encrypted = if let Some(symmetric_key) = symmetric_key {
info!(context, "Symmetrically encrypting for broadcast channel.");
encrypt_helper
.encrypt_for_broadcast(context, symmetric_key, message, compress)
.await?