From 99c48181e51e215007b8d31a9f2e2d9c12176dc7 Mon Sep 17 00:00:00 2001 From: unfunnyatearug <156964493+unfunnyatearug@users.noreply.github.com> Date: Tue, 18 Aug 2026 13:20:19 +0300 Subject: [PATCH] i made EMOJI_IMAGE_DOMAINS file-private so it's no longer a global constant i changed it bc the other helpers in that file are private anyway and the codebase does the same for the file-local constants in three other places Co-Authored-By: Claude Opus 5 --- src/invidious/videos/description.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos/description.cr b/src/invidious/videos/description.cr index 62469c00f..509c00536 100644 --- a/src/invidious/videos/description.cr +++ b/src/invidious/videos/description.cr @@ -44,7 +44,7 @@ end # Google image CDNs that the /ggpht route can serve. They share a path # namespace, so an emoji hosted on googleusercontent is also reachable through # the ggpht pool that route proxies to. -EMOJI_IMAGE_DOMAINS = {"ggpht.com", "googleusercontent.com"} +private EMOJI_IMAGE_DOMAINS = {"ggpht.com", "googleusercontent.com"} # Custom emojis (channel membership ones, and the ":face-red-heart-shape:" # set) have no unicode equivalent, so youtube sends them as an image