Added E2E_POLICY_WHITELIST ENV variable to configure e2e_policy_whitelist.

This commit is contained in:
Sara Aimée Smiseth 2020-09-26 18:54:56 +02:00
parent 15b95e5822
commit 606e63f20f
5 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
e2e_policy_chat = os.getenv("E2E_POLICY_CHAT")
e2e_policy_muc = os.getenv("E2E_POLICY_MUC")
e2e_policy_whitelist = {}
e2e_policy_whitelist = { os.getenv("E2E_POLICY_WHITELIST") }
e2e_policy_message_optional_chat = "For security reasons, OMEMO, OTR or PGP encryption is STRONGLY recommended for conversations on this server."
e2e_policy_message_required_chat = "For security reasons, OMEMO, OTR or PGP encryption is required for conversations on this server."
e2e_policy_message_optional_muc = "For security reasons, OMEMO, OTR or PGP encryption is STRONGLY recommended for MUC on this server."

View file

@ -1,5 +1,3 @@
local domain = os.getenv("DOMAIN")
contact_info = {
abuse = { os.getenv("SERVER_CONTACT_INFO_ABUSE") };
admin = { os.getenv("SERVER_CONTACT_INFO_ADMIN") };