1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-22 16:17:29 +00:00

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

View File

@ -40,6 +40,10 @@ const features = [
"BLOCK_DETECT_USER_HTML" "BLOCK_DETECT_USER_HTML"
] ]
if (constants.has_privacy_policy) features.push("PRIVACY_POLICY") 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 innerMap = new Map()
{ {
const addVersion = function(shortVersion, block) { const addVersion = function(shortVersion, block) {