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 success Lorenz Leutgeb committed 7 months ago
commit 6a2a1233716fd814faa879674a6fad9df491749c
parent 65d0bc3e6806bb8750d4667eaefdff01b47cbe85
1 passed (1 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);