diff options
author | George Goldberg <george@gberg.me> | 2017-10-03 11:28:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 11:28:15 +0100 |
commit | 42283589039709d2ff2bfc434db62b7ac380f1b2 (patch) | |
tree | 7860466d097324a59626abd8cc24919389ffd61b /utils/license.go | |
parent | 605ac2a10cd5ed87fb16bb8b9e19c6758f5aa15c (diff) | |
download | chat-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.go | 2 |
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) |