crypto: Fix a clippy warning and some spelling.
parent
552a12eeed
commit
c307690c2e
|
@ -558,7 +558,7 @@ impl OlmMachine {
|
||||||
|| user_signing.user_id() != user_id
|
|| user_signing.user_id() != user_id
|
||||||
{
|
{
|
||||||
warn!(
|
warn!(
|
||||||
"User id missmatch in one of the cross signing keys for user {}",
|
"User id mismatch in one of the cross signing keys for user {}",
|
||||||
user_id
|
user_id
|
||||||
);
|
);
|
||||||
continue;
|
continue;
|
||||||
|
@ -574,16 +574,14 @@ impl OlmMachine {
|
||||||
);
|
);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} else {
|
} else if master_key.user_id() != user_id || self_signing.user_id() != user_id {
|
||||||
if master_key.user_id() != user_id || self_signing.user_id() != user_id {
|
|
||||||
warn!(
|
warn!(
|
||||||
"User id missmatch in one of the cross signing keys for user {}",
|
"User id mismatch in one of the cross signing keys for user {}",
|
||||||
user_id
|
user_id
|
||||||
);
|
);
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
UserIdentity::new(master_key, self_signing).map(UserIdentities::Other)
|
UserIdentity::new(master_key, self_signing).map(UserIdentities::Other)
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
match identity {
|
match identity {
|
||||||
|
|
Loading…
Reference in New Issue