summaryrefslogtreecommitdiffstats
path: root/api/file.go
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-07 14:37:19 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-07 14:37:19 -0500
commit733396f6b31d0e428c5e2f7497f647864db852aa (patch)
tree07d0c5209bc84c8a083e35478d3c28fa572da895 /api/file.go
parentb8b38c0c7269210451dc5fee81ef28ed4e8ae183 (diff)
downloadchat-733396f6b31d0e428c5e2f7497f647864db852aa.tar.gz
chat-733396f6b31d0e428c5e2f7497f647864db852aa.tar.bz2
chat-733396f6b31d0e428c5e2f7497f647864db852aa.zip
Increased the maximum size of image uploads to 24 megapixels
Diffstat (limited to 'api/file.go')
-rw-r--r--api/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/file.go b/api/file.go
index 5c983ea55..0011afd5b 100644
--- a/api/file.go
+++ b/api/file.go
@@ -52,7 +52,7 @@ const (
RotatedCCWMirrored = 7
RotatedCW = 8
- MaxImageSize = 4096 * 2160 // 4k resolution
+ MaxImageSize = 6048 * 4032 // 24 megapixels, roughly 36MB as a raw image
)
var fileInfoCache *utils.Cache = utils.NewLru(1000)