deltachat::receive_imf

Function save_locations

source
async fn save_locations(
    context: &Context,
    mime_parser: &MimeMessage,
    chat_id: ChatId,
    from_id: ContactId,
    msg_id: MsgId,
) -> Result<()>
Expand description

Saves attached locations to the database.

Emits an event if at least one new location was added.