summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-07-02 16:04:57 +0200
committerGitHub <noreply@github.com>2021-07-02 16:04:57 +0200
commit836884429ae6d08909f4f96fbe0f1ea288e7af12 (patch)
treee4386ce61a952af3b60342ed9276c496ccdde3f9 /modules
parentAdd API to get commits of PR (#16300) (diff)
downloadforgejo-836884429ae6d08909f4f96fbe0f1ea288e7af12.tar.xz
forgejo-836884429ae6d08909f4f96fbe0f1ea288e7af12.zip
Add forge emojies (#16296)
* codeberg :codeberg: * gitlab :gitlab: * git :git: * github :github: * gogs :gogs:
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index e37b788342..e3da5796e4 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -258,8 +258,8 @@ var (
DefaultTheme: `gitea`,
Themes: []string{`gitea`, `arc-green`},
Reactions: []string{`+1`, `-1`, `laugh`, `hooray`, `confused`, `heart`, `rocket`, `eyes`},
- CustomEmojis: []string{`gitea`},
- CustomEmojisMap: map[string]string{"gitea": ":gitea:"},
+ CustomEmojis: []string{`git`, `gitea`, `codeberg`, `gitlab`, `github`, `gogs`},
+ CustomEmojisMap: map[string]string{"git": ":git:", "gitea": ":gitea:", "codeberg": ":codeberg:", "gitlab": ":gitlab:", "github": ":github:", "gogs": ":gogs:"},
Notification: struct {
MinTimeout time.Duration
TimeoutStep time.Duration