about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-07-09 22:07:17 +0200
committerGitHub <noreply@github.com>2022-07-09 22:07:17 +0200
commit12ed2d793b1b4823b0df047a47677bb0667bf43d (patch)
tree14aee1535f03b51a7467933d9138bd5e94de420e /app
parent04cdfc0086dc2d7295d0a5cffb35481bba09e66e (diff)
Change custom emoji file size limit from 50 KB to 256 KB (#18788)
Diffstat (limited to 'app')
-rw-r--r--app/models/custom_emoji.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/custom_emoji.rb b/app/models/custom_emoji.rb
index b08893e77..289e3b66f 100644
--- a/app/models/custom_emoji.rb
+++ b/app/models/custom_emoji.rb
@@ -23,7 +23,7 @@
 class CustomEmoji < ApplicationRecord
   include Attachmentable
 
-  LIMIT = 50.kilobytes
+  LIMIT = 256.kilobytes
 
   SHORTCODE_RE_FRAGMENT = '[a-zA-Z0-9_]{2,}'