refactor: derive Debug, PartialEq and Eq for VerifiedEncryption

This commit is contained in:
link2xt
2023-12-06 19:57:50 +00:00
parent 35c5f42b35
commit 548afe3153

View File

@@ -2280,6 +2280,7 @@ async fn create_adhoc_group(
Ok(Some(new_chat_id)) Ok(Some(new_chat_id))
} }
#[derive(Debug, PartialEq, Eq)]
enum VerifiedEncryption { enum VerifiedEncryption {
Verified, Verified,
NotVerified(String), // The string contains the reason why it's not verified NotVerified(String), // The string contains the reason why it's not verified