Missing `configuration.media_attachments` child properties in Pleroma servers
Environment
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): "2.7.2 (compatible; Pleroma 2.6.51-650-g0b9bc4a0-develop)" (one server example, but see below)
Bug description
It seems to be possible for users to configure Pleroma servers so that important properties are missing from the configuration.media_attachments
property in the value returned from /api/v2/instance
.
I've observed missing:
supported_mime_types
image_matrix_limit
video_frame_rate_limit
video_matrix_limit
properties. None of these are allowed to be missing (or null), per https://docs.joinmastodon.org/entities/Instance/#media_attachments.
I did think that maybe this was the result of the admin disabling media attachments, but it's not. For example, https://gleasonator.com/api/v1/instance shows all of these problems, but also reports configuration.statuses.max_media_attachments
as 20.
Servers I've seen this on include: activitypub.agates.io, apontaeclica.com, bassam.social, bearvideo.win, c.wtf, clew.lol, fediverse.spearman.xyz, foygl.com, gleasonator.com, iddqd.social, idolheaven.org, jacksonhomestead.me, killyour.dad, leafposter.club, lm.kazv.moe, neenster.org, orwell.fun, p.sugar-free-jazz.com, parcero.bond, pl.kotobank.ch, pleroma.dark-alexandr.net, pleroma.pibvt.net, pleroma.woodynet.net, rabbithou.se, rebased.social, rebased.taihou.website, redsnake.io, seal.cafe, shinkai.party, shitposting.on.incorrigible.moe, social.dansonline.space, social.linuxine.net, social.luizpicolo.com.br, social.protectors.moe, social.rucksfuchs.de, social.teci.world, socialgoblins.club, sosial.agdersam.no, svltan.at, twhtv.club, updog.no, vocalfry.social
Some of these are servers running soapbox (reporting +soapbox
), but some aren't -- for example, https://idolheaven.org/api/v2/instance