aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-06-29 16:28:38 +0200
committerGitHub <noreply@github.com>2021-06-29 16:28:38 +0200
commit65548359cc5c78455b638c5be6fdec3e321e717a (patch)
tree0236a4aaa8e0c2a781e0383a39a667cf03528a1e /routers
parentaac663e0da0af644ae1011d268d027160265dce3 (diff)
downloadgitea-65548359cc5c78455b638c5be6fdec3e321e717a.tar.gz
gitea-65548359cc5c78455b638c5be6fdec3e321e717a.zip
Add custom emoji support (#16004)
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/settings/settings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/api/v1/settings/settings.go b/routers/api/v1/settings/settings.go
index e6417e4074..ca2d28fb8b 100644
--- a/routers/api/v1/settings/settings.go
+++ b/routers/api/v1/settings/settings.go
@@ -25,6 +25,7 @@ func GetGeneralUISettings(ctx *context.APIContext) {
ctx.JSON(http.StatusOK, api.GeneralUISettings{
DefaultTheme: setting.UI.DefaultTheme,
AllowedReactions: setting.UI.Reactions,
+ CustomEmojis: setting.UI.CustomEmojis,
})
}