mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
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