summaryrefslogtreecommitdiffstats
path: root/utils/license.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-10-03 11:28:15 +0100
committerGitHub <noreply@github.com>2017-10-03 11:28:15 +0100
commit42283589039709d2ff2bfc434db62b7ac380f1b2 (patch)
tree7860466d097324a59626abd8cc24919389ffd61b /utils/license.go
parent605ac2a10cd5ed87fb16bb8b9e19c6758f5aa15c (diff)
downloadchat-42283589039709d2ff2bfc434db62b7ac380f1b2.tar.gz
chat-42283589039709d2ff2bfc434db62b7ac380f1b2.tar.bz2
chat-42283589039709d2ff2bfc434db62b7ac380f1b2.zip
PLT-7668: Elasticsearch & DataRetention in client license. (#7548)
Diffstat (limited to 'utils/license.go')
-rw-r--r--utils/license.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/license.go b/utils/license.go
index 0b4e666b0..f4775d338 100644
--- a/utils/license.go
+++ b/utils/license.go
@@ -218,6 +218,8 @@ func getClientLicense(l *model.License) map[string]string {
props["MHPNS"] = strconv.FormatBool(*l.Features.MHPNS)
props["PasswordRequirements"] = strconv.FormatBool(*l.Features.PasswordRequirements)
props["Announcement"] = strconv.FormatBool(*l.Features.Announcement)
+ props["Elasticsearch"] = strconv.FormatBool(*l.Features.Elasticsearch)
+ props["DataRetention"] = strconv.FormatBool(*l.Features.DataRetention)
props["IssuedAt"] = strconv.FormatInt(l.IssuedAt, 10)
props["StartsAt"] = strconv.FormatInt(l.StartsAt, 10)
props["ExpiresAt"] = strconv.FormatInt(l.ExpiresAt, 10)