fix(GODT-2759): Use examine rather than select for fetching
When fetching messages in the debug mailbox state command, use read only mode to avoid modifying the mailbox state.
This commit is contained in:
parent
519a6ecdb7
commit
ded4f370dc
|
@ -230,7 +230,7 @@ func (bridge *Bridge) DebugDownloadFailedMessages(
|
|||
}
|
||||
|
||||
func clientGetMessageIDs(client *goimapclient.Client, mailbox string) (map[string]imap.FlagSet, error) {
|
||||
status, err := client.Select(mailbox, false)
|
||||
status, err := client.Select(mailbox, true)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue