Skip to content

Commit

Permalink
fix: Multiple deletion bug in WriteControlledStore
Browse files Browse the repository at this point in the history
  • Loading branch information
LBeernaertProton authored and jameshoulahan committed Feb 23, 2023
1 parent 703b2df commit 033d015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/write_controlled_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (w *WriteControlledStore) Delete(messageID ...imap.InternalMessageID) error
syncRef.lock.Lock()
defer syncRef.lock.Unlock()

return w.impl.Delete(messageID...)
return w.impl.Delete(id)
}(); err != nil {
return err
}
Expand Down

0 comments on commit 033d015

Please sign in to comment.