fix: add user metadata to the features (#2179)

* fix: add user metadata to the features

* fix: remove user metadata

* fix: add test

* fix: add test
This commit is contained in:
Fabi
2021-08-12 16:10:01 +02:00
committed by GitHub
parent b104011418
commit d1c03fd15c
25 changed files with 402 additions and 10 deletions

View File

@@ -21,6 +21,8 @@ const (
FeatureCustomText = "custom_text"
FeatureCustomDomain = "custom_domain"
FeaturePrivacyPolicy = "privacy_policy"
FeatureMetadata = "metadata"
FeatureMetadataUser = FeatureMetadata + ".user"
)
type Features struct {
@@ -45,6 +47,7 @@ type Features struct {
CustomDomain bool
CustomText bool
PrivacyPolicy bool
MetadataUser bool
}
type FeaturesState int32