From 6e31692265da4945857e257d3bf460504f0edfbb Mon Sep 17 00:00:00 2001 From: Lazlo Westerhof Date: Fri, 22 Mar 2024 08:37:21 +0100 Subject: [PATCH] YDA-5626: add default Yoda logo to SRAM post CO payload Co-authored-by: Sirjan Kaur --- sram.py | 3 ++- util/config.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sram.py b/sram.py index d8f992bcf..0dce48962 100644 --- a/sram.py +++ b/sram.py @@ -37,7 +37,8 @@ def sram_post_collaboration(ctx, group_name, description): "disable_join_requests": disable_join_requests, "disclose_member_information": True, "disclose_email_information": True, - "administrators": [session_vars.get_map(ctx.rei)["client_user"]["user_name"]] + "administrators": [session_vars.get_map(ctx.rei)["client_user"]["user_name"]], + "logo": config.sram_co_logo_url } if config.sram_verbose_logging: diff --git a/util/config.py b/util/config.py index 99e9801ee..f44ba68a5 100644 --- a/util/config.py +++ b/util/config.py @@ -135,6 +135,7 @@ def __repr__(self): sram_flow=None, sram_verbose_logging=False, sram_tls_verify=True, + sram_co_logo_url=None, arb_enabled=False, arb_exempt_resources=[], arb_min_gb_free=0,