From 8423ca61cde3c5cab07625922d0307f00f84a36f Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 20 Jun 2024 12:49:55 +0900 Subject: [PATCH] WIP --- src/command/config/migrate/v20240701.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/command/config/migrate/v20240701.rs b/src/command/config/migrate/v20240701.rs index ea0641c..52199f3 100644 --- a/src/command/config/migrate/v20240701.rs +++ b/src/command/config/migrate/v20240701.rs @@ -411,7 +411,8 @@ fn create_new_client_config(meta: Meta) -> Result { || meta.icon_url.is_some() || meta.banner_url.is_some() || meta.background_image_url.is_some() - || meta.error_image_url.is_some() + || (meta.error_image_url.is_some() + && meta.error_image_url.as_ref().unwrap() != "/static-assets/badges/error.webp") { config.image = Some(client::Image { logo: meta.logo_image_url,