mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 23:16:30 +03:00
Add AEAP transition (#3385)
This commit is contained in:
@@ -633,9 +633,7 @@ async fn could_not_establish_secure_connection(
|
||||
}
|
||||
|
||||
async fn mark_peer_as_verified(context: &Context, fingerprint: &Fingerprint) -> Result<(), Error> {
|
||||
if let Some(ref mut peerstate) =
|
||||
Peerstate::from_fingerprint(context, &context.sql, fingerprint).await?
|
||||
{
|
||||
if let Some(ref mut peerstate) = Peerstate::from_fingerprint(context, fingerprint).await? {
|
||||
if peerstate.set_verified(
|
||||
PeerstateKeyType::PublicKey,
|
||||
fingerprint,
|
||||
|
||||
Reference in New Issue
Block a user