mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
fix: do not take Secure-Join-Auth from unprotected headers
This commit is contained in:
@@ -1386,6 +1386,7 @@ impl MimeMessage {
|
|||||||
|
|
||||||
fn remove_secured_headers(headers: &mut HashMap<String, String>) {
|
fn remove_secured_headers(headers: &mut HashMap<String, String>) {
|
||||||
headers.remove("secure-join-fingerprint");
|
headers.remove("secure-join-fingerprint");
|
||||||
|
headers.remove("secure-join-auth");
|
||||||
headers.remove("chat-verified");
|
headers.remove("chat-verified");
|
||||||
headers.remove("autocrypt-gossip");
|
headers.remove("autocrypt-gossip");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user