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.
This commit is contained in:
Defelo 2025-09-23 09:35:58 +02:00
parent ec22c94321
commit ae01a42434
No known key found for this signature in database
GPG Key ID: 2A05272471204DD3
1 changed files with 0 additions and 3 deletions

View File

@ -532,9 +532,6 @@ pub fn edit<L>(
body: String,
embeds: Vec<Embed<Uri>>,
) -> Result<(), Error> {
if body.is_empty() {
return Err(Error::Edit(id));
}
debug_assert!(!thread.timeline.contains(&id));
thread.timeline.push(id);