From 2768f5ec167155afae2cee93007511c3b093caaf Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sat, 4 Mar 2023 09:21:29 +0100 Subject: [PATCH] in imapclient, make Noop() send the noop command, not capabilities from pexarkh, issue #12 --- imapclient/cmds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imapclient/cmds.go b/imapclient/cmds.go index 7577f95..e6bcaba 100644 --- a/imapclient/cmds.go +++ b/imapclient/cmds.go @@ -24,7 +24,7 @@ func (c *Conn) Capability() (untagged []Untagged, result Result, rerr error) { // responses for new message delivery and changes to mailboxes. func (c *Conn) Noop() (untagged []Untagged, result Result, rerr error) { defer c.recover(&rerr) - return c.Transactf("capability") + return c.Transactf("noop") } // Logout ends the IMAP session by writing a LOGOUT command. Close must still be