in imapclient, make Noop() send the noop command, not capabilities

from pexarkh, issue #12
This commit is contained in:
Mechiel Lukkien 2023-03-04 09:21:29 +01:00
parent a168633ad0
commit 2768f5ec16
No known key found for this signature in database

View file

@ -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