Update Mattermost to v5.4
This commit is contained in:
parent
b9e17a1c5f
commit
e30e2613a4
26 changed files with 4888 additions and 4204 deletions
5
build/manifest/vendor/github.com/mattermost/mattermost-server/model/license.go
generated
vendored
5
build/manifest/vendor/github.com/mattermost/mattermost-server/model/license.go
generated
vendored
|
@ -55,6 +55,7 @@ type Features struct {
|
|||
DataRetention *bool `json:"data_retention"`
|
||||
MessageExport *bool `json:"message_export"`
|
||||
CustomPermissionsSchemes *bool `json:"custom_permissions_schemes"`
|
||||
CustomTermsOfService *bool `json:"custom_terms_of_service"`
|
||||
|
||||
// after we enabled more features for webrtc we'll need to control them with this
|
||||
FutureFeatures *bool `json:"future_features"`
|
||||
|
@ -152,6 +153,10 @@ func (f *Features) SetDefaults() {
|
|||
if f.CustomPermissionsSchemes == nil {
|
||||
f.CustomPermissionsSchemes = NewBool(*f.FutureFeatures)
|
||||
}
|
||||
|
||||
if f.CustomTermsOfService == nil {
|
||||
f.CustomTermsOfService = NewBool(*f.FutureFeatures)
|
||||
}
|
||||
}
|
||||
|
||||
func (l *License) IsExpired() bool {
|
||||
|
|
Reference in a new issue