fix(gateway): added MATRIX_ALLOWED_USERS to list of env vars checked by gateway

This commit is contained in:
SteelPh0enix 2026-03-23 14:22:17 +01:00 • committed by Teknium
parent 9d6148316c
commit 7768a3e14d
No known key found for this signature in database

View file

@ -904,7 +904,7 @@ class GatewayRunner:
os.getenv(v)
for v in ("TELEGRAM_ALLOWED_USERS", "DISCORD_ALLOWED_USERS",
"WHATSAPP_ALLOWED_USERS", "SLACK_ALLOWED_USERS",
"SMS_ALLOWED_USERS",
"SMS_ALLOWED_USERS", "MATRIX_ALLOWED_USERS",
"GATEWAY_ALLOWED_USERS")
)
_allow_all = os.getenv("GATEWAY_ALLOW_ALL_USERS", "").lower() in ("true", "1", "yes")