Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter "real" attachments by being referenced #9472

Merged
merged 2 commits into from
Jul 21, 2024

Commits on Jul 15, 2024

  1. Filter "real" attachments by being referenced

    This changes the way in which attachments are determined to be shown as
    such ("standalone"), or not ("inline").
    In theory this should be determined by their Content-Disposition, but in
    reality this often doesn't work.
    Now we check if the Content-ID or Content-Location of the attachment is
    actually being used in other parts of the message. If not, the
    attachment is considered to be "standalone".
    pabzm committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    9250335 View commit details
    Browse the repository at this point in the history
  2. Consider all mime-parts to check if message is empty

    Previously only `parts` and `body` were checked, so mime-parts that were
    classified into `attachments` and `inline_parts` didn't count – thus
    messages that contained only those parts were shown blank.
    pabzm committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    355bcca View commit details
    Browse the repository at this point in the history