Skip to content

fix(web): support drag-and-drop of multiple files into chat - #88

Open
DivXPro wants to merge 1 commit into
qqqqqf-q:mainfrom
DivXPro:fix/drag-multiple-files-attachment
Open

fix(web): support drag-and-drop of multiple files into chat#88
DivXPro wants to merge 1 commit into
qqqqqf-q:mainfrom
DivXPro:fix/drag-multiple-files-attachment

Conversation

@DivXPro

@DivXPro DivXPro commented May 26, 2026

Copy link
Copy Markdown
Contributor

The dedup logic in extractFilesFromTransfer was keyed by MIME type prefix ('image'), so only one image file survived each drop. Switch to identity-based dedup (name|size|lastModified) so that truly distinct files all pass through while still suppressing genuine duplicates from Electron clipboard bugs.

The dedup logic in extractFilesFromTransfer was keyed by MIME type prefix
('image'), so only one image file survived each drop. Switch to identity-based
dedup (name|size|lastModified) so that truly distinct files all pass through
while still suppressing genuine duplicates from Electron clipboard bugs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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