Skip to content

Commit

Permalink
move const back to telegram.go
Browse files Browse the repository at this point in the history
  • Loading branch information
aliksend committed Dec 17, 2024
1 parent c16c2bf commit f432c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/app/notify/prune_html.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import (
"golang.org/x/net/html"
)

const commentTextLengthLimit = 100

type stringArr struct {
data []string
len int
Expand Down
2 changes: 2 additions & 0 deletions backend/app/notify/telegram.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import (
"github.com/hashicorp/go-multierror"
)

const commentTextLengthLimit = 100

// TelegramParams contain settings for telegram notifications
type TelegramParams struct {
AdminChannelID string // unique identifier for the target chat or username of the target channel (in the format @channelusername)
Expand Down

0 comments on commit f432c3e

Please sign in to comment.