forked from Silverfish/proton-bridge
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:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user