diff --git a/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt b/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt index 048dbef4..0d3b42f3 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt @@ -206,7 +206,7 @@ class MediaUploaderImpl( // resize only images if(media.type == QueuedMedia.Type.IMAGE) { // resize when exceed image limit - if(media.mediaSize < imageLimit) + if(media.mediaSize >= imageLimit) return true // don't resize when instance permits any image resolution(Pleroma)