Skip to content

UIDPLUS unordered support #541

@alexobenauer

Description

@alexobenauer

If I'm completely missing something, or simply wrong, just let me know.

In my testing, it seems that Gmail does not copy messages in the same order that they were in, by UID, in the original folder. (For what it's worth, I also tested on FastMail, which seemed to copy in order). It does, however, return the unordered UID's in the order that matches the original sorted order of the UID's sent:

event logged: 0 withData: 13 OK [COPYUID 658824223 33630,33650:33651,33653 2273,2275,2274,2272] (Success)

Where 33630 -> 2273; 33650 -> 2275; 33651 -> 2274; 33653 -> 2272

But these destination UIDs are returned in MCOIndexSet, so the order given by Gmail cannot be determined.

Is there something I'm missing, or a way to determine their order currently? Or would a fix, such as using an array instead of an index set, be needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions