mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
rename Account.Deliver to Account.DeliverDestination
the name was too generic compared with the other Deliver functions
This commit is contained in:
2
ctl.go
2
ctl.go
@ -340,7 +340,7 @@ func servectlcmd(ctx context.Context, ctl *ctl, shutdown func()) {
|
||||
}
|
||||
|
||||
a.WithWLock(func() {
|
||||
err := a.Deliver(log, addr, m, msgFile, true)
|
||||
err := a.DeliverDestination(log, addr, m, msgFile, true)
|
||||
ctl.xcheck(err, "delivering message")
|
||||
log.Info("message delivered through ctl", mlog.Field("to", to))
|
||||
})
|
||||
|
Reference in New Issue
Block a user