diff --git a/src/receive_imf.rs b/src/receive_imf.rs index 9aae3d38d..dd6211c31 100644 --- a/src/receive_imf.rs +++ b/src/receive_imf.rs @@ -788,6 +788,7 @@ async fn add_parts( false => None, }; if let Some(chat) = chat { + debug_assert!(chat.typ == Chattype::Single); let mut new_protection = match has_verified_encryption(context, mime_parser, from_id, to_ids).await? {