Replace Channel Name for Team in Email Notifications (#7839)
* allow option to set channel name in email notification subject * Added TeamName to title when UseChannelInEmailNotifications=true
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
7ac35548c8
Коммит
fdbfb9a4ed
@@ -653,6 +653,7 @@ type EmailSettings struct {
|
||||
EnableSignInWithEmail *bool
|
||||
EnableSignInWithUsername *bool
|
||||
SendEmailNotifications bool
|
||||
UseChannelInEmailNotifications *bool
|
||||
RequireEmailVerification bool
|
||||
FeedbackName string
|
||||
FeedbackEmail string
|
||||
@@ -687,6 +688,10 @@ func (s *EmailSettings) SetDefaults() {
|
||||
s.EnableSignInWithUsername = NewBool(false)
|
||||
}
|
||||
|
||||
if s.UseChannelInEmailNotifications == nil {
|
||||
s.UseChannelInEmailNotifications = NewBool(false)
|
||||
}
|
||||
|
||||
if s.SendPushNotifications == nil {
|
||||
s.SendPushNotifications = NewBool(false)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user