[Bug]: Uploads above 8MB not accepted
Speedy native Discord client for macOS built in Swift
Brought to you by:
cryptoalgo
Originally created by: BomberFish
Any file above 8 megabytes is not accepted. Recently, Discord changed the free file upload limit to 25 megabytes, and level 2 and 3 boosted servers increase the limit for all users to 50 and 100 megabytes respectively.
The upload fails.
The upload should succeed.
0.6.1
Media (images, audio, video etc.)
No response
No response
No response
Originally posted by: cryptoAlgorithm
Ah this is due to the file size limit being hardcoded in the upload check. It would simply require a single change here:
https://github.com/SwiftcordApp/Swiftcord/blob/89f48337cc2d46427b229e72bd050349183b9057/Swiftcord/Utils/Extensions/MessagesView%2B.swift#L107
Something along the lines of