mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-27 05:37:15 -05:00
Fixing licensing (#7226)
This commit is contained in:
+1
-1
@@ -655,7 +655,7 @@ func Desanitize(cfg *model.Config) {
|
||||
}
|
||||
|
||||
func IsLeader() bool {
|
||||
if IsLicensed && *Cfg.ClusterSettings.Enable && einterfaces.GetClusterInterface() != nil {
|
||||
if IsLicensed() && *Cfg.ClusterSettings.Enable && einterfaces.GetClusterInterface() != nil {
|
||||
return einterfaces.GetClusterInterface().IsLeader()
|
||||
} else {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user