Announce and Undo(Announce) in Mastodon
julian @julian@activitypub.space
<p>NodeBB federates out the <code>Announce</code> activity in two ways.</p> <ol> <li>The "plain object" way, which is an <code>Announce</code> activity wrapping an object (either a uri or the full object itself.)</li> <li>The "1b12" way, which is an <code>Announce</code> activity wrapping another activity (e.g. <code>Create</code>)</li> </ol> <p>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 <code>Announce</code> when moving a topic <em><strong>in</strong></em> to category, it now makes sense to <code>Undo(Announce)</code> when moving a topic <em><strong>out</strong></em> of a category.</p>
Read more →