deltachat::receive_imf

Function get_previous_message

source
async fn get_previous_message(
    context: &Context,
    mime_parser: &MimeMessage,
) -> Result<Option<Message>>
Expand description

Returns the last message referenced from References header if it is in the database.

For Delta Chat messages it is the last message in the chat of the sender.