Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Cerulean)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Technical Discussion
  4. Announce and Undo(Announce) in Mastodon

Announce and Undo(Announce) in Mastodon

Pianificato Fissato Bloccato Spostato Technical Discussion
mastodonactivitypubundo
3 Post 2 Autori 21 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • julian@activitypub.spaceundefined Questo utente è esterno a questo forum
    julian@activitypub.spaceundefined Questo utente è esterno a questo forum
    julian@activitypub.space
    scritto su ultima modifica di
    #1

    NodeBB federates out the Announce activity in two ways.

    1. The "plain object" way, which is an Announce activity wrapping an object (either a uri or the full object itself.)
    2. The "1b12" way, which is an Announce activity wrapping another activity (e.g. Create)

    Up until now I haven't needed to handle the reverse (which in AP-speak is the "undo" of an activity), but since NodeBB sends Announce when moving a topic in to category, it now makes sense to Undo(Announce) when moving a topic out of a category.

    My first interop test with Mastodon didn't work, and it turns out that Mastodon checks the id of the embedded Announce for a match. It doesn't infer it based on actor/object combination.

    Once I matched up the IDs, the Undo was processed correctly.

    I also noticed that Announces sent from Mastodon have a published property, although this is not relevant in Undo parsing.

    1 Risposta Ultima Risposta
    1
    • rimu@piefed.socialundefined Questo utente è esterno a questo forum
      rimu@piefed.socialundefined Questo utente è esterno a questo forum
      rimu@piefed.social
      scritto su ultima modifica di
      #2

      What does undoing an announce do, in Mastodon? Remove a boost?

      julian@activitypub.spaceundefined 1 Risposta Ultima Risposta
      0
      • rimu@piefed.socialundefined rimu@piefed.social

        What does undoing an announce do, in Mastodon? Remove a boost?

        julian@activitypub.spaceundefined Questo utente è esterno a questo forum
        julian@activitypub.spaceundefined Questo utente è esterno a questo forum
        julian@activitypub.space
        scritto su ultima modifica di
        #3

        Yep, that's basically it. It's not really a concept in threadiverse implementations since group actors do the Announcing for synchronization.

        1 Risposta Ultima Risposta
        0

        Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

        Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

        Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

        Registrati Accedi
        Rispondi
        • Risposta alla discussione
        Effettua l'accesso per rispondere
        • Da Vecchi a Nuovi
        • Da Nuovi a Vecchi
        • Più Voti


        Feed RSS
        Announce and Undo(Announce) in Mastodon
        @pierobosio@soc.bosio.info
        V4.10.1 Contributors
        • Accedi

        • Accedi o registrati per effettuare la ricerca.
        • Primo post
          Ultimo post