Skip to content

Preserve attachment metadata for external opening - #240

Draft
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/attachment-metadata-opening
Draft

Preserve attachment metadata for external opening#240
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/attachment-metadata-opening

Conversation

@Xare123

@Xare123 Xare123 commented Aug 16, 2026

Copy link
Copy Markdown

Problem

Downloaded PDFs and Office documents could exist locally but fail to open because cache paths lacked the original extension and MIME context.

Change

Resolve external-open MIME types from the original filename before falling back to the local path, while preserving unknown-file fallback behavior.

Validation

Focused Flutter tests pass: 7/7 for PDF, DOCX, XLSX, PPTX, text, unknown binary, and local-path fallback.

Non-goals

This does not change attachment downloading, replacement-download scheduling, retries, or message storage.

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.

1 participant