mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
feat: Save the secret to encrypt and decrypt messages. Next: Send it in a 'member added' message.
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user