summaryrefslogtreecommitdiffstats
path: root/utils/license.go
diff options
context:
space:
mode:
authorJesse Hallam <jesse.hallam@gmail.com>2018-09-27 06:24:57 -0400
committerGeorge Goldberg <george@gberg.me>2018-09-27 11:24:57 +0100
commit34a1da97174a63475aba793a1fbeb41e51426ca7 (patch)
tree400d9eef9f537b6d8d1b8a55076bebe32f4f069d /utils/license.go
parentaf984b71e99a59c8f1a82beab277b8e67cf8ed7d (diff)
downloadchat-34a1da97174a63475aba793a1fbeb41e51426ca7.tar.gz
chat-34a1da97174a63475aba793a1fbeb41e51426ca7.tar.bz2
chat-34a1da97174a63475aba793a1fbeb41e51426ca7.zip
emit CustomTermsOfService in license (#9472)
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 459318231..b84ef7007 100644
--- a/utils/license.go
+++ b/utils/license.go
@@ -151,6 +151,7 @@ func GetClientLicense(l *model.License) map[string]string {
props["EmailNotificationContents"] = strconv.FormatBool(*l.Features.EmailNotificationContents)
props["MessageExport"] = strconv.FormatBool(*l.Features.MessageExport)
props["CustomPermissionsSchemes"] = strconv.FormatBool(*l.Features.CustomPermissionsSchemes)
+ props["CustomTermsOfService"] = strconv.FormatBool(*l.Features.CustomTermsOfService)
}
return props