fix: Assign encrypted partially downloaded group messages to 1:1 chat (#4757)

Before they were trashed. Note that for unencrypted ones DC works as expected creating the requested
group immediately because Chat-Group-Id is duplicated in the Message-Id header and Subject is
fetched.
This commit is contained in:
iequidoo
2023-10-07 02:03:55 -03:00
committed by iequidoo
parent 5f00fc4e27
commit 8f316e12d5
3 changed files with 89 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ pub(crate) struct MimeMessage {
/// The decrypted, raw mime structure.
///
/// This is non-empty only if the message was actually encrypted. It is used
/// This is non-empty iff `is_mime_modified` and the message was actually encrypted. It is used
/// for e.g. late-parsing HTML.
pub decoded_data: Vec<u8>,