mirror of
https://github.com/chatmail/core.git
synced 2026-04-22 07:56:29 +03:00
Don't include the broadcast's shared secret in the QR code
This commit is contained in:
@@ -35,7 +35,6 @@ pub enum QrInvite {
|
||||
broadcast_name: String,
|
||||
grpid: String,
|
||||
authcode: String,
|
||||
shared_secret: String,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -129,14 +128,12 @@ impl TryFrom<Qr> for QrInvite {
|
||||
contact_id,
|
||||
fingerprint,
|
||||
authcode,
|
||||
shared_secret,
|
||||
} => Ok(QrInvite::Broadcast {
|
||||
broadcast_name,
|
||||
grpid,
|
||||
contact_id,
|
||||
fingerprint,
|
||||
authcode,
|
||||
shared_secret,
|
||||
}),
|
||||
_ => bail!("Unsupported QR type: {qr:?}"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user