Document PeerstateChange

This commit is contained in:
link2xt
2023-02-22 15:10:33 +00:00
parent 7c099c19c8
commit 9e28ee95e5

View File

@@ -688,6 +688,10 @@ pub(crate) async fn maybe_do_aeap_transition(
Ok(())
}
/// Type of the peerstate change.
///
/// Changes to the peerstate are notified to the user via a message
/// explaining the happened change.
enum PeerstateChange {
/// The contact's public key fingerprint changed, likely because
/// the contact uses a new device and didn't transfer their key.