mirror of
https://github.com/mattermost/focalboard.git
synced 2024-11-24 08:22:29 +02:00
22aae37dd1
* retrieve additional user fields * implement config setting * cleanup * fix tests * remove unused constant * fix more tests * add tests, cleanup * lint fixes * revert bad lint fixes * more merge fixes * update to use personal setting * add user settings * update package-lock.json * lint fixes * npm audit fix * update tests * Revert "lint fixes" This reverts commit6a50d335ca
. * Revert "update package-lock.json" This reverts commit1117e557e4
. * Revert "npm audit fix" This reverts commit77ea931c77
. * Revert "Revert "lint fixes"" This reverts commit3ebd81b9fa
. * restore to original * fix for empty prefs * fix bad merge Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
16 lines
432 B
Go
16 lines
432 B
Go
package app
|
|
|
|
import (
|
|
"github.com/mattermost/focalboard/server/model"
|
|
)
|
|
|
|
func (a *App) GetClientConfig() *model.ClientConfig {
|
|
return &model.ClientConfig{
|
|
Telemetry: a.config.Telemetry,
|
|
TelemetryID: a.config.TelemetryID,
|
|
EnablePublicSharedBoards: a.config.EnablePublicSharedBoards,
|
|
TeammateNameDisplay: a.config.TeammateNameDisplay,
|
|
FeatureFlags: a.config.FeatureFlags,
|
|
}
|
|
}
|