From ae01a424349795da1df36c732f215214e52ef590 Mon Sep 17 00:00:00 2001 From: Defelo Date: Tue, 23 Sep 2025 09:35:58 +0200 Subject: [PATCH] radicle: Allow to clear issue descriptions and comments Previously it was possible to create an issue with an empty description (i.e. an empty "root" comment), and also to change it later to a non-empty string, however it was not possible to clear it again. --- crates/radicle/src/cob/thread.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/radicle/src/cob/thread.rs b/crates/radicle/src/cob/thread.rs index f786bffb..e0d4d3c0 100644 --- a/crates/radicle/src/cob/thread.rs +++ b/crates/radicle/src/cob/thread.rs @@ -532,9 +532,6 @@ pub fn edit( body: String, embeds: Vec>, ) -> Result<(), Error> { - if body.is_empty() { - return Err(Error::Edit(id)); - } debug_assert!(!thread.timeline.contains(&id)); thread.timeline.push(id);