deltachat::receive_imf

Function is_probably_private_reply

source
async fn is_probably_private_reply(
    context: &Context,
    to_ids: &[ContactId],
    from_id: ContactId,
    mime_parser: &MimeMessage,
    parent_chat_id: ChatId,
) -> Result<bool>
Expand description

If this method returns true, the message shall be assigned to the 1:1 chat with the sender. If it returns false, it shall be assigned to the parent chat.