2021-09-01 23:53:27 +02:00
|
|
|
package app
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mattermost/focalboard/server/model"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (a *App) GetClientConfig() *model.ClientConfig {
|
|
|
|
return &model.ClientConfig{
|
2021-09-16 21:31:02 +02:00
|
|
|
Telemetry: a.config.Telemetry,
|
|
|
|
TelemetryID: a.config.TelemetryID,
|
|
|
|
EnablePublicSharedBoards: a.config.EnablePublicSharedBoards,
|
2022-07-08 16:43:43 +02:00
|
|
|
TeammateNameDisplay: a.config.TeammateNameDisplay,
|
2021-11-02 03:12:43 +02:00
|
|
|
FeatureFlags: a.config.FeatureFlags,
|
2022-11-24 13:46:59 +02:00
|
|
|
MaxFileSize: a.config.MaxFileSize,
|
2021-09-01 23:53:27 +02:00
|
|
|
}
|
|
|
|
}
|