summaryrefslogtreecommitdiffstats
path: root/utils/license.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-03 11:54:49 -0400
committerCorey Hulen <corey@hulen.com>2016-05-03 08:54:49 -0700
commit08a3cf6b38fd8fdac3b5f7176133bc1a248bc8fc (patch)
tree66687c84dbda048f09954d6b7286f0a78fe5cd45 /utils/license.go
parentffb4cb5e1051c3db13a8e3b1b2a9fd6fb8ed701c (diff)
downloadchat-08a3cf6b38fd8fdac3b5f7176133bc1a248bc8fc.tar.gz
chat-08a3cf6b38fd8fdac3b5f7176133bc1a248bc8fc.tar.bz2
chat-08a3cf6b38fd8fdac3b5f7176133bc1a248bc8fc.zip
Port HPNS from 2.2 to master (#2863)
Diffstat (limited to 'utils/license.go')
-rw-r--r--utils/license.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/license.go b/utils/license.go
index d3654932f..6905bee4f 100644
--- a/utils/license.go
+++ b/utils/license.go
@@ -124,6 +124,7 @@ func getClientLicense(l *model.License) map[string]string {
props["GoogleSSO"] = strconv.FormatBool(*l.Features.GoogleSSO)
props["Compliance"] = strconv.FormatBool(*l.Features.Compliance)
props["CustomBrand"] = strconv.FormatBool(*l.Features.CustomBrand)
+ props["MHPNS"] = strconv.FormatBool(*l.Features.MHPNS)
props["IssuedAt"] = strconv.FormatInt(l.IssuedAt, 10)
props["StartsAt"] = strconv.FormatInt(l.StartsAt, 10)
props["ExpiresAt"] = strconv.FormatInt(l.ExpiresAt, 10)