diff --git a/constants/attributes.go b/constants/attributes.go index b20836f..92b08ff 100644 --- a/constants/attributes.go +++ b/constants/attributes.go @@ -30,3 +30,6 @@ const StateSelectedProfileTime = "state-selected-profile-time" const BlockUnknownPeersSetting = "blockunknownpeers" const LocaleSetting = "locale" const ZoomSetting = "zoom" + +// App Experiments +const MessageFormattingExperiment = "message-formatting" diff --git a/utils/settings.go b/utils/settings.go index e677969..88406fd 100644 --- a/utils/settings.go +++ b/utils/settings.go @@ -1,6 +1,7 @@ package utils import ( + "git.openprivacy.ca/cwtch.im/libcwtch-go/constants" path "path/filepath" "sync" @@ -65,7 +66,7 @@ var DefaultGlobalSettings = GlobalSettings{ Theme: "dark", PreviousPid: -1, ExperimentsEnabled: false, - Experiments: make(map[string]bool), + Experiments: map[string]bool{constants.MessageFormattingExperiment: true}, StateRootPane: 0, FirstTime: true, BlockUnknownConnections: false,