Files
chatmail-core/src
Hocuri f8680724f8 Set subject to Re: <last subject> for better compability with normal MUAs
The code in dc_receive_imf.rs looks a bit funny, an alternative would be a function:

fn upcate_chat_last_subject(context: &Context, chat_id: &ChatId, mime_parser: &mut MimeMessage) -> Result<()> {
    let mut chat = Chat::load_from_db(context, *chat_id)?;
    chat.param.set(Param::LastSubject, mime_parser.get_subject().ok_or_else(||Error::Message("No subject in email".to_string()))?);
    chat.update_param(context)?;
    Ok(())
}
2020-06-07 12:11:52 +02:00
..
2020-06-05 16:27:22 +02:00
2020-05-22 21:03:01 +02:00
2020-05-22 21:03:01 +02:00
2020-06-06 19:49:57 +03:00
2020-06-05 16:27:22 +02:00
2020-05-31 17:04:25 +02:00
2020-06-05 16:27:22 +02:00
2020-04-13 23:02:57 +03:00
2020-05-23 00:17:50 +02:00
2020-05-29 11:25:52 +02:00
2020-06-05 16:27:22 +02:00
2020-05-23 18:56:45 +02:00
2020-05-22 21:03:01 +02:00
2020-05-23 18:56:45 +02:00
2020-06-05 16:27:22 +02:00
2020-05-22 11:37:03 +02:00
2020-04-23 06:48:18 +02:00
2020-03-14 15:17:47 +01:00