job: document DeleteMsgOnImap

This commit is contained in:
Alexander Krotov
2020-02-23 03:37:18 +03:00
parent 8cd5f5990e
commit 76fc84be37

View File

@@ -437,6 +437,14 @@ impl Job {
}
}
/// Deletes a message on the server.
///
/// foreign_id is a MsgId pointing to a message in the trash chat
/// or a hidden message.
///
/// This job removes the database record. If there are no more
/// records pointing to the same message on the server, the job
/// also removes the message on the server.
#[allow(non_snake_case)]
fn DeleteMsgOnImap(&mut self, context: &Context) -> Status {
let imap_inbox = &context.inbox_thread.read().unwrap().imap;