Update vendor/
This commit is contained in:
4
vendor/github.com/emersion/go-imap/server/cmd_any.go
generated
vendored
4
vendor/github.com/emersion/go-imap/server/cmd_any.go
generated
vendored
@@ -24,7 +24,7 @@ func (cmd *Noop) Handle(conn Conn) error {
|
||||
ctx := conn.Context()
|
||||
if ctx.Mailbox != nil {
|
||||
// If a mailbox is selected, NOOP can be used to poll for server updates
|
||||
if mbox, ok := ctx.Mailbox.(backend.UpdaterMailbox); ok {
|
||||
if mbox, ok := ctx.Mailbox.(backend.MailboxPoller); ok {
|
||||
return mbox.Poll()
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ type Logout struct {
|
||||
|
||||
func (cmd *Logout) Handle(conn Conn) error {
|
||||
res := &imap.StatusResp{
|
||||
Type: imap.StatusBye,
|
||||
Type: imap.StatusRespBye,
|
||||
Info: "Closing connection",
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user