Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Mail: Use inferredMimeType first for attachments

Mohammed Althaf Thayyil requested to merge 2954-main-ics into main

Description

'Open with' apps were different when opening same extension file in mail app.

Screenshots

Technical details

Use extension from filename to determine mimetype to sent for an intent.

Tests

  • Install outlook and x-plore from app lounge.
  • Send a mail to any email with attachment with invite.ics in /e/ Mail.
  • Forward the mail back to sender from receiver.
  • Open that forwarded mail in sender and try opening invite.ics and noname.ics.
  • Make sure 'Open with' apps are same for both files.

Issues

https://gitlab.e.foundation/e/backlog/-/issues/2954

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Merge request reports

Loading