这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@sblinch
Copy link

@sblinch sblinch commented Dec 22, 2021

IDLE was changed into a built-in extension, but the default capabilities list was never updated to include it. The go-imap/client library (and probably any other sane IMAP client) resorts to polling if the IDLE cap isn't present. This PR simply adds IDLE to the list.

@emersion
Copy link
Owner

IDLE is only supported if the server implements it.

@emersion
Copy link
Owner

Hm, scratch that, we should always support it indeed.

Can you update the tests accordingly?

IDLE was changed into a built-in extension, but the default capabilities list was never updated to include it. The go-imap/client library (and probably any other sane IMAP client) resorts to polling if the IDLE cap isn't present.

Co-authored-by: sblinch <sblinch@users.noreply.github.com>
Closes emersion#453.
@foxcpp foxcpp merged commit dcd9ee6 into emersion:master Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants