PLT-6610 sending websocket event for last channel viewed (#6787)

Этот коммит содержится в:
Corey Hulen
2017-06-29 07:51:15 -07:00
коммит произвёл Christopher Speller
родитель bf81fea9f8
Коммит eb7561e05b
9 изменённых файлов: 50 добавлений и 3 удалений

Просмотреть файл

@@ -473,6 +473,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["MaxNotificationsPerChannel"] = strconv.FormatInt(*c.TeamSettings.MaxNotificationsPerChannel, 10)
props["TimeBetweenUserTypingUpdatesMilliseconds"] = strconv.FormatInt(*c.ServiceSettings.TimeBetweenUserTypingUpdatesMilliseconds, 10)
props["EnableUserTypingMessages"] = strconv.FormatBool(*c.ServiceSettings.EnableUserTypingMessages)
props["EnablChannelViewedMessages"] = strconv.FormatBool(*c.ServiceSettings.EnablChannelViewedMessages)
props["DiagnosticId"] = CfgDiagnosticId
props["DiagnosticsEnabled"] = strconv.FormatBool(*c.LogSettings.EnableDiagnostics)