Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Allow clearing body of all comments, not only root
✗ CI failure Lorenz Leutgeb committed 7 months ago
commit f5e8c6698cacac280afcf7217234cd08486f925e
parent c33a844675d23aa5cc1aa122a35340818a094311
1 passed 1 failed (2 total) View logs
1 file changed +0 -3
modified crates/radicle/src/cob/thread.rs
@@ -532,9 +532,6 @@ pub fn edit<L>(
    body: String,
    embeds: Vec<Embed<Uri>>,
) -> Result<(), Error> {
-
    if body.is_empty() && !thread.root().is_some_and(|(&root, _)| comment == root) {
-
        return Err(Error::Edit(id));
-
    }
    debug_assert!(!thread.timeline.contains(&id));
    thread.timeline.push(id);