-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix scaling and limits for Mastodon and Pleroma/Akkoma (#247)
* Fix scaling and limits for Mastodon and Pleroma/Akkoma - The max width and height are now calculated based on the maximum number of pixels provided by the instance. - max post length is now set by the max characters setting from the instance. - Adds support for a max filesize and max post length from Pleroma and Akkoma instances. - The chunk size is now determined by the max media attachments setting from Mastodon and Pleroma instances - Updates the accepted filetypes based on what standard Mastodon supports. Ideally this would be from the list of mime types provided by the instance though. * Fix formatting
- Loading branch information
1 parent
f2f995f
commit 947d360
Showing
1 changed file
with
67 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters