mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-10 01:11:22 +00:00
Save message to IMAP server before saving plist
By first appending the message to the mailbox, we obtain the IMAP ID and save it to the local plist. Having the message ID, we can delete it when saving/appending a new version of the draft to the mailbox.
This commit is contained in:
@@ -1004,11 +1004,11 @@ static NSString *userAgent = nil;
|
||||
withMetadata: attachment];
|
||||
}
|
||||
|
||||
[self storeInfo];
|
||||
|
||||
// Save the message to the IMAP store so the user can eventually view the attached file(s)
|
||||
// from the Web interface
|
||||
[self save];
|
||||
|
||||
[self storeInfo];
|
||||
}
|
||||
|
||||
/* accessors */
|
||||
|
||||
Reference in New Issue
Block a user