1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

s/Gitea/Forgejo in various log messages and comments

(cherry picked from commit 469c214ec8)
This commit is contained in:
0ko 2024-04-21 21:26:15 +05:00 committed by GitHub
parent 4433cd9793
commit c7ba51518c
19 changed files with 32 additions and 32 deletions

View file

@ -356,7 +356,7 @@ var slackChannel = regexp.MustCompile(`^#?[a-z0-9_-]{1,80}$`)
// IsValidSlackChannel validates a channel name conforms to what slack expects:
// https://api.slack.com/methods/conversations.rename#naming
// Conversation names can only contain lowercase letters, numbers, hyphens, and underscores, and must be 80 characters or less.
// Gitea accepts if it starts with a #.
// Forgejo accepts if it starts with a #.
func IsValidSlackChannel(name string) bool {
return slackChannel.MatchString(name)
}