mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
in imapclient, make Noop() send the noop command, not capabilities
from pexarkh, issue #12
This commit is contained in:
parent
a168633ad0
commit
2768f5ec16
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ func (c *Conn) Capability() (untagged []Untagged, result Result, rerr error) {
|
||||||
// responses for new message delivery and changes to mailboxes.
|
// responses for new message delivery and changes to mailboxes.
|
||||||
func (c *Conn) Noop() (untagged []Untagged, result Result, rerr error) {
|
func (c *Conn) Noop() (untagged []Untagged, result Result, rerr error) {
|
||||||
defer c.recover(&rerr)
|
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
|
// Logout ends the IMAP session by writing a LOGOUT command. Close must still be
|
||||||
|
|
Loading…
Reference in a new issue