mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:14:40 +03:00
small fixes
a typo, using ongoing tx instead of making a new one, don't pass literal string to formatting function. found while working on quota support.
This commit is contained in:
@ -628,7 +628,7 @@ func (w Webmail) MessageSubmit(ctx context.Context, m SubmitMessage) {
|
||||
}
|
||||
}
|
||||
|
||||
sentmb, err := bstore.QueryDB[store.Mailbox](ctx, acc.DB).FilterEqual("Sent", true).Get()
|
||||
sentmb, err := bstore.QueryTx[store.Mailbox](tx).FilterEqual("Sent", true).Get()
|
||||
if err == bstore.ErrAbsent {
|
||||
// There is no mailbox designated as Sent mailbox, so we're done.
|
||||
return
|
||||
|
Reference in New Issue
Block a user