Add assistant to features

This commit is contained in:
Cadence Ember 2020-04-13 03:44:31 +12:00
parent 3e2cb7aa22
commit 42cede08e5
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,10 @@ const features = [
"BLOCK_DETECT_USER_HTML"
]
if (constants.has_privacy_policy) features.push("PRIVACY_POLICY")
if (constants.as_assistant.enabled) {
if (constants.as_assistant.require_key) features.push("ASSISTANT_PRIVATE")
else features.push("ASSISTANT_PUBLIC")
}
const innerMap = new Map()
{
const addVersion = function(shortVersion, block) {