From 6d1a7c8ae0f73e2b69856e918ee6ad21e4f429e9 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Tue, 10 Oct 2023 17:11:11 +0200 Subject: [PATCH] Wipe bio when user is banned with remove content (fixes #4012) (#4032) --- crates/api_common/src/utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/api_common/src/utils.rs b/crates/api_common/src/utils.rs index 234a5ad39..8f49eb78a 100644 --- a/crates/api_common/src/utils.rs +++ b/crates/api_common/src/utils.rs @@ -524,6 +524,7 @@ pub async fn remove_user_data( &PersonUpdateForm { avatar: Some(None), banner: Some(None), + bio: Some(None), ..Default::default() }, )