mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
fix: do not use Secure-Join-Group header
Alice already knows which auth token corresponds to which group. There is no need to trust Bob on sending the correct group ID.
This commit is contained in:
@@ -74,6 +74,11 @@ pub enum HeaderDef {
|
||||
Autocrypt,
|
||||
AutocryptSetupMessage,
|
||||
SecureJoin,
|
||||
|
||||
/// Deprecated header containing Group-ID in `vg-request-with-auth` message.
|
||||
///
|
||||
/// It is not used by Alice as Alice knows the group corresponding to the AUTH token.
|
||||
/// Bob still sends it for backwards compatibility.
|
||||
SecureJoinGroup,
|
||||
SecureJoinFingerprint,
|
||||
SecureJoinInvitenumber,
|
||||
|
||||
Reference in New Issue
Block a user