Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailboxData.searchSort should be rolled into .search #727

Open
danieleggert opened this issue Jan 25, 2023 · 0 comments
Open

MailboxData.searchSort should be rolled into .search #727

danieleggert opened this issue Jan 25, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@danieleggert
Copy link
Collaborator

This is https://www.rfc-editor.org/rfc/rfc4551#section-3.5 which allows for a server response such as

SEARCH 1 2 3 (MODSEQ 4)

Instead of its own case, this should probably just be part of

public enum MailboxData: Hashable {
    
    case search([UnknownMessageIdentifier], ModificationSequenceValue? = nil)
    
}

and
MailboxData.SearchSort should be removed.

@danieleggert danieleggert added the good first issue Good for newcomers label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant