diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-01-30 15:43:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-30 15:43:34 -0500 |
commit | 450c0b3ccb091a3f84f35aca0319ba358ffd5633 (patch) | |
tree | b10df23ff6a7410b9e61be2c8b1c1215e9b5aa28 /utils | |
parent | b26329cdda2ff599d01afbe01b2e2df3896a6b57 (diff) | |
download | chat-450c0b3ccb091a3f84f35aca0319ba358ffd5633.tar.gz chat-450c0b3ccb091a3f84f35aca0319ba358ffd5633.tar.bz2 chat-450c0b3ccb091a3f84f35aca0319ba358ffd5633.zip |
Improvments to typing messages (#5230)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index 72c30c01b..243e2b984 100644 --- a/utils/config.go +++ b/utils/config.go @@ -311,6 +311,10 @@ func getClientConfig(c *model.Config) map[string]string { props["EnableWebrtc"] = strconv.FormatBool(*c.WebrtcSettings.Enable) + props["MaxNotificationsPerChannel"] = strconv.FormatInt(*c.TeamSettings.MaxNotificationsPerChannel, 10) + props["TimeBetweenUserTypingUpdatesMilliseconds"] = strconv.FormatInt(*c.ServiceSettings.TimeBetweenUserTypingUpdatesMilliseconds, 10) + props["EnableUserTypingMessages"] = strconv.FormatBool(*c.ServiceSettings.EnableUserTypingMessages) + if IsLicensed { if *License.Features.CustomBrand { props["EnableCustomBrand"] = strconv.FormatBool(*c.TeamSettings.EnableCustomBrand) |