Fix behaviour of SOGoMailKeepDraftsAfterSend

Fixes #4830
This commit is contained in:
Francis Lachapelle
2019-09-27 09:48:58 -04:00
parent 482728c942
commit 5b818e8ea9
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -2068,7 +2068,7 @@ static NSString *userAgent = nil;
if (!error)
{
[self imap4Connection];
if (IMAP4ID > -1)
if (IMAP4ID > -1 && ![dd mailKeepDraftsAfterSend])
[imap4 markURLDeleted: [self imap4URL]];
if (sourceURL && sourceFlag)
{