<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Deleting a post vs deleting an entire comment tree]]></title><description><![CDATA[<p dir="auto">For context:</p>
<ul>
<li>Two big threadiverse implementors (and probably mbin) currently federate <code>Announce(Delete(Object))</code> for deletion of content — all synchronized communities follow suit and delete the content as well.</li>
<li>If that object is the root-level node, and it is deleted, <em>everything below it is also deleted</em>.</li>
<li>Lemmy and Piefed are investigating the possibility of changing this behaviour so that the action deletes the <em>object itself only</em>, and the reply tree stays.</li>
</ul>
<p dir="auto">We're in the middle of discussing how best to communicate this. With <code>Delete(Object)</code> behaviour shifting to deleting the single object only, there are two options to delete the entire tree/thread:</p>
<ol>
<li><code>Delete(Object)</code> with a new property <code>with_replies</code> or similar</li>
<li><code>Remove(Context)</code>, where <code>Context</code> is a new url that refers to the entire tree</li>
</ol>
<p dir="auto">Thoughts? We're discussing this tomorrow at ForumWG but it'd be nice to get some eyes on it beforehand.</p>
<p dir="auto">cc <a href="https://activitypub.space/user/rimu%40piefed.social" target="_blank" rel="noopener noreferrer nofollow ugc">@rimu@piefed.social</a> <a href="https://activitypub.space/user/nutomic%40lemmy.ml" target="_blank" rel="noopener noreferrer nofollow ugc">@nutomic@lemmy.ml</a> <a href="https://activitypub.space/user/melroy%40kbin.melroy.org" target="_blank" rel="noopener noreferrer nofollow ugc">@melroy@kbin.melroy.org</a> <a href="https://activitypub.space/user/bentigorlich%40gehirneimer.de" target="_blank" rel="noopener noreferrer nofollow ugc">@bentigorlich@gehirneimer.de</a></p>
]]></description><link>https://citiverse.it/topic/3187c669-fa1e-4974-9c07-b924709c0bd2/deleting-a-post-vs-deleting-an-entire-comment-tree</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 17:01:07 GMT</lastBuildDate><atom:link href="https://citiverse.it/topic/3187c669-fa1e-4974-9c07-b924709c0bd2.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Dec 2025 02:57:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Deleting a post vs deleting an entire comment tree on Thu, 04 Dec 2025 17:53:32 GMT]]></title><description><![CDATA[<p><span><a href="/user/julian%40activitypub.space">@<span>julian</span></a></span> <span><a href="/user/jdp23%40neuromatch.social">@<span>jdp23</span></a></span> well, a Delete can be operated on an array of objects. <img src="https://citiverse.it/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=3a6642edec2" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title=":D" alt="😄" /> </p><p>Send one with all the objects that are affected from the local instance (and probably you must keep in mind that not all replies might be).</p>]]></description><link>https://citiverse.it/post/https://metalhead.club/users/mariusor/statuses/115662573555379262</link><guid isPermaLink="true">https://citiverse.it/post/https://metalhead.club/users/mariusor/statuses/115662573555379262</guid><dc:creator><![CDATA[mariusor@metalhead.club]]></dc:creator><pubDate>Thu, 04 Dec 2025 17:53:32 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting a post vs deleting an entire comment tree on Thu, 04 Dec 2025 17:47:30 GMT]]></title><description><![CDATA[<p dir="auto"><a href="/user/thisismissem%40activitypub.space">@thisismissem</a> seems I misspoke, as Nutomic's reply above clarifies: the tree stays but is effectively orphaned. Lemmy v1.0 will allow the reply tree to be accessed post-deletion.</p>
<p dir="auto">The original query does still remain the same: what would be the best way forward to explicitly signal the deletion (or technically, the removal) of an entire reply tree?</p>
<p dir="auto">cc <a href="https://activitypub.space/user/jdp23%40neuromatch.social" target="_blank" rel="noopener noreferrer nofollow ugc">@jdp23@neuromatch.social</a> <a href="https://activitypub.space/user/mariusor%40metalhead.club" target="_blank" rel="noopener noreferrer nofollow ugc">@mariusor@metalhead.club</a></p>
]]></description><link>https://citiverse.it/post/https://activitypub.space/post/709</link><guid isPermaLink="true">https://citiverse.it/post/https://activitypub.space/post/709</guid><dc:creator><![CDATA[julian@activitypub.space]]></dc:creator><pubDate>Thu, 04 Dec 2025 17:47:30 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting a post vs deleting an entire comment tree on Thu, 04 Dec 2025 17:02:26 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://activitypub.space/user/mariusor%40metalhead.club" target="_blank" rel="noopener noreferrer nofollow ugc">@mariusor@metalhead.club</a> that works too!</p>
]]></description><link>https://citiverse.it/post/https://activitypub.space/post/708</link><guid isPermaLink="true">https://citiverse.it/post/https://activitypub.space/post/708</guid><dc:creator><![CDATA[thisismissem@activitypub.space]]></dc:creator><pubDate>Thu, 04 Dec 2025 17:02:26 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting a post vs deleting an entire comment tree on Thu, 04 Dec 2025 10:34:50 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">If that object is the root-level node, and it is deleted, everything below it is also deleted.</p>
</blockquote>
<p dir="auto">This is not exactly true. When Lemmy receives <code>Delete/Object</code> for a (top level) post, it only marks the post itself as deleted. The replies are not marked as deleted in the database, but are (currently) hidden in the UI. For 1.0 this behaviour is already changed in the API and UI so that deleted posts are removed from listings, but accessible by direct link so that comments can be viewed. This doesnt involve any change to federation and is an implementation detail.</p>
<p dir="auto">Adding a new activity type for each such implementation detail is not feasible, and we cannot support all of them. So to maximize compatibility you should definitely keep using <code>Delete(Object)</code>, and add a new property if you need to be explicit about it.</p>
]]></description><link>https://citiverse.it/post/https://lemmy.ml/comment/22579155</link><guid isPermaLink="true">https://citiverse.it/post/https://lemmy.ml/comment/22579155</guid><dc:creator><![CDATA[nutomic@lemmy.ml]]></dc:creator><pubDate>Thu, 04 Dec 2025 10:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting a post vs deleting an entire comment tree on Thu, 04 Dec 2025 08:39:07 GMT]]></title><description><![CDATA[<p><span><a href="/user/thisismissem%40activitypub.space">@<span>thisismissem</span></a></span> not even orphaned, a delete leaves behind a tombstone object which should still be dereferenceable from anywhere else.</p>]]></description><link>https://citiverse.it/post/https://metalhead.club/users/mariusor/statuses/115660393513550027</link><guid isPermaLink="true">https://citiverse.it/post/https://metalhead.club/users/mariusor/statuses/115660393513550027</guid><dc:creator><![CDATA[mariusor@metalhead.club]]></dc:creator><pubDate>Thu, 04 Dec 2025 08:39:07 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting a post vs deleting an entire comment tree on Thu, 04 Dec 2025 04:24:29 GMT]]></title><description><![CDATA[<p dir="auto">I've got a PR for removing an entire comment thread for Lemmy mostly ready, I just need to write the tests and decide on how this exact problem should work, so the timing is honestly impeccable. The things I've been debating between are:</p>
<ol>
<li>Same as option 1, a new property like <code>removeChildren</code>;</li>
<li>Make the <code>target</code> of the <code>Delete</code> an array. I'm honestly 50/50 on whether this is actually spec compliant, <a href="https://www.w3.org/TR/activitystreams-vocabulary/#origin-target" target="_blank" rel="noopener noreferrer nofollow ugc">it's not clear to me that it isn't</a>;</li>
<li>Just sending out an individual <code>Delete</code> for every <code>Object</code>. I like this option the least, but it is very easy to implement and needs no changes in other software to work.</li>
</ol>
]]></description><link>https://citiverse.it/post/https://feddit.uk/comment/21726523</link><guid isPermaLink="true">https://citiverse.it/post/https://feddit.uk/comment/21726523</guid><dc:creator><![CDATA[flamingos@feddit.uk]]></dc:creator><pubDate>Thu, 04 Dec 2025 04:24:29 GMT</pubDate></item><item><title><![CDATA[Reply to Deleting a post vs deleting an entire comment tree on Thu, 04 Dec 2025 03:18:49 GMT]]></title><description><![CDATA[<p dir="auto"><a href="/user/julian%40activitypub.space">@julian</a> said in <a href="https://activitypub.space/post/702" target="_blank" rel="noopener noreferrer nofollow ugc">Deleting a post vs deleting an entire comment tree</a>:<br />
&gt; If that object is the root-level node, and it is deleted, everything below it is also deleted.</p>
<p dir="auto">Why would everything below be deleted? Would it not simply become orphaned?</p>
]]></description><link>https://citiverse.it/post/https://activitypub.space/post/704</link><guid isPermaLink="true">https://citiverse.it/post/https://activitypub.space/post/704</guid><dc:creator><![CDATA[thisismissem@activitypub.space]]></dc:creator><pubDate>Thu, 04 Dec 2025 03:18:49 GMT</pubDate></item></channel></rss>