Skip to content

Partial sync only has to FETCH flags, nothing else #8451

Open
@ChristophWurst

Description

@ChristophWurst

Is your feature request related to a problem? Please describe.

Partial sync can be expensive without QRESYC/CONDSTORE capabilities. Horde will flag all given UIDs as changed. We then fetch the messages another time but only really use the flags and tags data to update the cache. Headers, subject, imapdate, etc are fetched without a purpose.

Describe the solution you'd like

Adjust \OCA\Mail\IMAP\Sync\Synchronizer::sync to call a minimal version of \OCA\Mail\IMAP\MessageMapper::findByIds for changed message flags.

Describe alternatives you've considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status

    🏗️ In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions