Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Deleting a post vs deleting an entire comment tree

Technical Discussion
23 11 0

Gli ultimi otto messaggi ricevuti dalla Federazione
  • I fail to see what the fundamental difference is. If you are unsure about the target with Delete/Object, you can also resolve the context of Object to figure that out. Anyway the instance where the Group is hosted is always the authority, so the state there is the correct one.

    Actually I would rather think of this from a different perspective, namely from the perspective of the mod who clicks the remove button. That would happen when a post is offtopic or violates the rules, and then the intent clearly is to remove all replies as they are not useful. It wouldnt make sense to leave up a single reply two levels deep just because it wasnt included in the context for some reason.

    read more

  • I'm sure that approach works as well. This would have been worth discussing 4 or 5 years ago when I was just implementing federation in Lemmy for the first time. By now FEP-1b12 is already an established standard which is used by various platforms, and it would be completely unfeasible to replace it with something else.

    read more

  • I do agree that with_replies, or similar, would be the easiest approach, but I don't think it is the most specific.

    The bool suggests that all replies to a given object are deleted. However, you do not know whether your idea of what the reply tree is matches that of the originating server (which replies are included, etc.?)

    Remove(Context), on the other hand does imply both that the container is deleted, and all of its replies, which are dereferenceable by resolving the context directly. It also has the benefit of being able to provide a pointer to where it was removed from, which is useful.

    So to me it's not just a matter of preference, but that there are additional benefits to Remove

    I will of course concede that it is more work to deliver Remove.

    cc thisismissem

    read more

  • @julian @jdp23 well, a Delete can be operated on an array of objects. :D

    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).

    read more

  • thisismissem 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.

    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?

    cc jdp23@neuromatch.social mariusor@metalhead.club

    read more

  • mariusor@metalhead.club that works too!

    read more

  • Thanks! I will do just that... mostly since I don't feel like hosting my own context just for this one property.

    This feature is now implemented and should ship with the next minor version of NodeBB — v4.8.0.

    read more

  • @nutomic I realize this explanation probably skips a lot of information that's clear to me from my context, but I'll try to answer if anyone has any questions.

    read more
Post suggeriti
  • 0 Votes
    7 Posts
    18 Views
    would sync follows and posts
  • 0 Votes
    1 Posts
    9 Views
    Week in Fediverse 2025-11-07Servers- Gush! v0.0.26- Manyfold v0.128.0- Wafrn v2025.10.02- Hubzilla v10.6- Ktistec v3.1.3- Mastodon v4.5- gancio v1.28.1- Castopod v1.13.6- tootik v0.19.8- Loops v1.0.0-beta.4- Lemmy Development Update October 2025Clients- IceCubesApp v2.0.9- Mangane v1.18.5- Tangerine UI for Mastodon v2.5- Mastodon Bird UI v3.0.0- PeerTube Mobile v1.2.0- Voyager v2.40.2- bleromo: A Windows 98-style Pleroma/Mastodon clientTools and Plugins- Poduptime v5.6.0For developers- APx v0.20.0- Fedialgo v1.2.32- FIRES Server v0.4.0- NGI0 Progress report #1 (GoActivityPub)Protocol- FEP-d8c8: BitTorrent Torrent Objects- FEP-19b3: Specifying Properties of a ServiceArticles- Self-hosting your Mastodon media with SeaweedFS- Fediverse Report – #141-----#WeekInFediverse #Fediverse #ActivityPubPrevious edition: https://mitra.social/objects/019a3c12-2a12-7683-592d-a0dec77f582e
  • #FediNews

    General Discussion fedinews activitypub
    1
    1
    0 Votes
    1 Posts
    8 Views
    #FediNews El crecimiento de #ActivityPub y la interoperabilidad: Continúan las discusiones en la comunidad y entre desarrolladores sobre la expansión del protocolo ActivityPub más allá de las redes sociales tradicionales, integrándose en plataformas de blogs (como WordPress) y otras herramientas. No ha habido un "gran anuncio" en los últimos días, pero sí un progreso constante en la adopción silenciosa de la tecnología.https://activitypub.news/ 
  • 0 Votes
    1 Posts
    17 Views
    Release v2.4.14 of Ktistec is small in terms of features and fixes, but it improves in two areas where I thought Ktistec was weak: light/dark mode support and autosave.I'm not hardcore dark mode, but I do prefer it in some cases. Ktistec selects light or dark mode based on the browser or system setting—there is currently no means to select the mode directly. A nice side effect of light/dark mode support is that custom theming support comes nearly for free.Figure 1: Ktistec editor showing the Dracula themeKtistec was meant for writing. I post my fair share of one-line bits of wisdom, but I started building Ktistec because I wanted a space to write long form, and existing Fediverse platforms were more for social interaction. When writing long form, autosaving is an essential feature. Ktistec will now autosave draft posts and replies. If you navigate away before publishing, you can always find the incomplete draft in the Drafts collection which is accessible from your timeline page.AddedAdd design system page for previewing UI elements.Support custom themes with automatic light/dark mode switching.Add autosave functionality for new posts, draft posts, and replies.ChangedAdd external link indicators.#ktistec #fediverse #activitypub #crystallang