session: Don't require master cross-signing key

This commit is contained in:
Julian Sparber 2022-04-04 12:04:16 +02:00
parent a8504693fc
commit fabbf516fe

View file

@ -838,9 +838,7 @@ impl Session {
spawn_tokio!(async move {
if let Some(cross_signing_status) = encryption.cross_signing_status().await {
debug!("Cross signing keys status: {:?}", cross_signing_status);
cross_signing_status.has_master
&& cross_signing_status.has_self_signing
&& cross_signing_status.has_user_signing
cross_signing_status.has_self_signing && cross_signing_status.has_user_signing
} else {
debug!("Session doesn't have needed cross signing keys");
false