Removed Post Priority feature flag (#23735)
* Removed post priority feature flag * linting * Update feature_flags.go
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3f126905c5
Коммит
96d3e5864f
@@ -34,5 +34,5 @@ func (a *App) GetPriorityForPostList(list *model.PostList) (map[string]*model.Po
|
||||
}
|
||||
|
||||
func (a *App) IsPostPriorityEnabled() bool {
|
||||
return a.Config().FeatureFlags.PostPriority && *a.Config().ServiceSettings.PostPriority
|
||||
return *a.Config().ServiceSettings.PostPriority
|
||||
}
|
||||
|
||||
@@ -2214,7 +2214,6 @@ func TestCountMentionsFromPost(t *testing.T) {
|
||||
|
||||
th.App.UpdateConfig(func(cfg *model.Config) {
|
||||
*cfg.ServiceSettings.PostPriority = true
|
||||
cfg.FeatureFlags.PostPriority = true
|
||||
})
|
||||
|
||||
user1 := th.BasicUser
|
||||
|
||||
Ссылка в новой задаче
Block a user