Refactor create_chat_from_msg_id

The goal here is to not have a `mut chat_id` as I want to change chat
id into an opaque newtype and we can't modify it like that anymore.
This commit is contained in:
Floris Bruynooghe
2020-01-07 23:27:59 +01:00
committed by Floris Bruynooghe
parent 40dc180b88
commit 72cfb70e35
2 changed files with 30 additions and 36 deletions

View File

@@ -34,7 +34,7 @@ use crate::{bail, ensure};
/// needed for deltachat's purposes.
///
/// It is created by parsing the raw data of an actual MIME message
/// using the [MimeMessage::from_raw] constructor.
/// using the [MimeMessage::from_bytes] constructor.
#[derive(Debug)]
pub struct MimeMessage<'a> {
pub context: &'a Context,