1
0

Fix appending to Sent

This commit is contained in:
Pavel Škoda
2020-05-14 10:18:46 +02:00
committed by Jakub
parent b91c286332
commit 6ae78217db
5 changed files with 31 additions and 6 deletions

View File

@ -126,10 +126,6 @@ func (im *imapMailbox) CreateMessage(flags []string, date time.Time, body imap.L
// We didn't find the message in the store, so we are currently sending it.
logEntry.WithField("time", date).Info("No matching UID, continuing APPEND to Sent")
// For now we don't import user's own messages to Sent because GetUIDByHeader is not smart enough.
// This will be fixed in GODT-143.
return nil
}
// This is an APPEND to the Sent folder, so we will set the sent flag