mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
fix(GODT-3185): logic mistake.
This commit is contained in:
@ -885,7 +885,7 @@ func (s *Connector) reportGODT3185(isDraft bool, defaultAddr string, p *parser.P
|
||||
}
|
||||
|
||||
reportMode := "combined"
|
||||
if isCombinedMode {
|
||||
if !isCombinedMode {
|
||||
reportMode = "split"
|
||||
}
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ Feature: IMAP create messages
|
||||
And IMAP client "1" eventually sees the following messages in "All Mail":
|
||||
| from | to | subject | body |
|
||||
| [alias:alias]@[domain] | john.doe@email.com | foo | bar |
|
||||
And bridge reports a message with "GODT-3185: import with non-default address in split mode: using sender address"
|
||||
And bridge reports a message with "GODT-3185: import with non-default address in combined mode: using sender address"
|
||||
|
||||
Scenario: Imports an unrelated message to inbox
|
||||
When IMAP client "1" appends the following messages to "INBOX":
|
||||
|
||||
@ -164,7 +164,7 @@ Feature: IMAP Draft messages
|
||||
And IMAP client "1" eventually sees the following messages in "Drafts":
|
||||
| to | subject | body |
|
||||
| someone@example.com | Draft without From | This is a Draft without From in header |
|
||||
And bridge reports a message with "GODT-3185: draft with non-default invalid address in split mode: error import/draft"
|
||||
And bridge reports a message with "GODT-3185: draft with non-default invalid address in combined mode: error import/draft"
|
||||
|
||||
@regression
|
||||
Scenario: Only one draft in Drafts and All Mail after editing it locally multiple times
|
||||
|
||||
Reference in New Issue
Block a user