mastodon-ios icon indicating copy to clipboard operation
mastodon-ios copied to clipboard

Use max_media_attachments API to follow instance-specified media upload limit.

Open HolgerHuo opened this issue 2 years ago • 2 comments

As the default upload limit for Mastodon is somewhat too low for SNS, some instances have bumped their media upload limit. Mastodon v3.4.2 has introduced max_media_attachments API to tell the client how many media files can be attached to one toot. It will be great if mastodon-ios can follow this new feature to allow users upload more media files if allowed by the instance.

HolgerHuo avatar Dec 12 '21 07:12 HolgerHuo

Sorry for the late reply.

The app not fully use that API and only set the characters cap now. Because the app can not display photos more than 4. I think this issue could be resolve after the media container refactor done.

Thank you for your feedback.

MainasuK avatar Jan 07 '22 11:01 MainasuK

Thanks for your reply and developments! Hope Mastodon and mastodon-ios are getting better and better in 2022!

HolgerHuo avatar Jan 07 '22 15:01 HolgerHuo

I think this issue is now fixed (looking at the code, the compose view seems to fetch and respect the max media count).

j-f1 avatar Nov 28 '22 20:11 j-f1

Thats great

HolgerHuo avatar Nov 29 '22 05:11 HolgerHuo