Skip to content

Make width/height optional in MediaAttachment's meta.original#663

Merged
PattaFeuFeu merged 1 commit intomasterfrom
660_fix_audio_attachment_fetching
Feb 18, 2026
Merged

Make width/height optional in MediaAttachment's meta.original#663
PattaFeuFeu merged 1 commit intomasterfrom
660_fix_audio_attachment_fetching

Conversation

@bocops
Copy link
Collaborator

@bocops bocops commented Feb 18, 2026

Description

The following attributes are now optional/nullable, because they might not exist depending on the type of media attachment:

  • meta.original.height
  • meta.original.width
  • meta.small.height
  • meta.small.width

Closes #660.

Type of Change

  • Bug fix

Breaking Changes

Consumers no longer can expect the attributes listed above to always exist / be non-null.

Mandatory Checklist

  • I ran gradle check and there were no errors reported
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass locally with my changes
  • I have added KDoc documentation to all public methods

@PattaFeuFeu PattaFeuFeu added enhancement Improvement of an existing feature, request, entity breaking Incompatible with previous versions labels Feb 18, 2026
@PattaFeuFeu PattaFeuFeu merged commit c66997c into master Feb 18, 2026
3 checks passed
@PattaFeuFeu PattaFeuFeu deleted the 660_fix_audio_attachment_fetching branch February 18, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Incompatible with previous versions enhancement Improvement of an existing feature, request, entity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Posts with an audio attachment cause exception

2 participants