[MM-19309] Name Display Lock (#13018)
* WIP * [MM-19309] Updated params * Updated boolean value * [MM-19309] add new struct * Updated en.json * Fixed golangci error * Address PR comments
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5ea8017db5
Коммит
2880a0af50
@@ -1521,6 +1521,7 @@ type TeamSettings struct {
|
||||
ExperimentalEnableAutomaticReplies *bool
|
||||
ExperimentalHideTownSquareinLHS *bool
|
||||
ExperimentalTownSquareIsReadOnly *bool
|
||||
LockTeammateNameDisplay *bool
|
||||
ExperimentalPrimaryTeam *string
|
||||
ExperimentalDefaultChannels []string
|
||||
}
|
||||
@@ -1667,6 +1668,10 @@ func (s *TeamSettings) SetDefaults() {
|
||||
if s.ExperimentalViewArchivedChannels == nil {
|
||||
s.ExperimentalViewArchivedChannels = NewBool(false)
|
||||
}
|
||||
|
||||
if s.LockTeammateNameDisplay == nil {
|
||||
s.LockTeammateNameDisplay = NewBool(false)
|
||||
}
|
||||
}
|
||||
|
||||
type ClientRequirements struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user