Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: S3 is enabled if LOCAL_UPLOADS_DIR is unset.
Alex Vandiverba5d1108c03a
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex 68aae82505b..0acbeadb499 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -514,7 +514,7 @@ ROOT_DOMAIN_URI = EXTERNAL_URI_SCHEME + EXTERNAL_HOSTS3_KEY = get_secret("s3_key")S3_SECRET_KEY = get_secret("s3_secret_key")-if S3_KEY is not None and S3_SECRET_KEY is not None and S3_REGION is None:+if LOCAL_UPLOADS_DIR is None and S3_REGION is None:import boto3S3_REGION = boto3.client("s3").meta.region_name