From 138cbe4d602838d0b4d431cb934d533cf5516ea9 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:17:04 +0100 Subject: [feature] Ratelimit + serve emoji images on separate router group (#2548) * [feature] Serve + rate limit emoji files separately from attachments * add a wee little warning about uploading loads of emojis --- web/source/settings/admin/emoji/local/overview.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/source') diff --git a/web/source/settings/admin/emoji/local/overview.js b/web/source/settings/admin/emoji/local/overview.js index 757f07c43..44b11f584 100644 --- a/web/source/settings/admin/emoji/local/overview.js +++ b/web/source/settings/admin/emoji/local/overview.js @@ -64,6 +64,11 @@ module.exports = function EmojiOverview({ }) { You can either upload them here directly, or copy from those already present on other (known) instances through the Remote Emoji page.

+

+ Be warned! If you upload more than about 300-400 custom emojis in + total on your instance, this may lead to rate-limiting issues for users and clients + if they try to load all the emoji images at once (which is what many clients do). +

{content} ); -- cgit v1.2.3