mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
GODT-1405: Integration test fix: Prevent unilateral update in FETCH when copying message by append.
This commit is contained in:
@ -186,6 +186,10 @@ func imapClientsMoveMessageSeqOfUserFromToByOrederedOperations(sourceIMAPClient,
|
||||
if account == nil {
|
||||
return godog.ErrPending
|
||||
}
|
||||
|
||||
// call NOOP to prevent unilateral updates in following FETCH
|
||||
ctx.GetIMAPClient(sourceIMAPClient).Noop().AssertOK()
|
||||
|
||||
msgStr, err := extractMessageBodyFromImapResponse(ctx.GetIMAPClient(sourceIMAPClient).Fetch(messageSeq, "BODY.PEEK[]").AssertOK())
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user