Skip to content

fix(imap): pass through $loadBody in ImapMessageConnector::fetchMessages - #13628

Open
ChristophWurst wants to merge 19 commits into
feat/jmap-2from
fix/jmap-2-imap-fetchmessages-loadbody
Open

ChristophWurst wants to merge 19 commits into
feat/jmap-2from
fix/jmap-2-imap-fetchmessages-loadbody

Conversation

@ChristophWurst

Copy link
Copy Markdown
Member

findByIds() was always called with a hardcoded true for the load-body argument, ignoring the connector's own $loadBody parameter. Callers that explicitly request loadBody=false (e.g. for lightweight metadata-only fetches) silently got the full message body anyway.

Assisted-by: ClaudeCode:claude-opus-4-8

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

SebastianKrupinski and others added 19 commits September 1, 2026 18:24
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Pure rename with no behavior or signature change, unrelated to the
JMAP protocol work (flagged in review as noise). Restores the name
main already uses.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
The rename touched the OCS route id (mail.messages.getSource ->
...getRawMessage) with no behavior change and no stated reason,
unrelated to the JMAP protocol work. Restore the original name to
drop this from the JMAP diff; the OCS route id and controller/service
method name are back to what main already has.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
…bymessageid-rename

refactor(imap): revert getMessagesByMessageId -> getByMessageId rename
…source-rename

refactor(imap): revert getSource -> getRawMessage rename
findByIds() was always called with a hardcoded true for the load-body
argument, ignoring the connector's own $loadBody parameter. Callers
that explicitly request loadBody=false (e.g. for lightweight
metadata-only fetches) silently got the full message body anyway.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants