Undo

By Fediverse Developer Network

https://fedidevs.org/projects/server-apps/funkwhale/activities/undo/

The Undo activity reverses a referenced Follow activity.

Reference
ActivityUndo
ObjectA Follow activity

Internal logic

When Funkwhale receives an Undo activity, it deletes the corresponding Follow from the database.

Example

In this example, Alice notifies Bob that she’s undoing her follow.

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {}
  ],
  "type": "Undo",
  "id": "https://music.rocks/federation/actors/Alice#follows/99fc40d7-9bc8-4c4a-add1-f637339e1ded/accept",
  "to": ["https://awesome.music/federation/actors/Bob"],
  "actor": "https://music.rocks/federation/actors/Alice",
  "object": {
    "id": "https://music.rocks/federation/actors/Alice#follows/99fc40d7-9bc8-4c4a-add1-f637339e1ded",
    "type": "Follow",
    "actor": "https://music.rocks/federation/actors/Alice",
    "object": "https://awesome.music/federation/music/libraries/dc702491-f6ce-441b-9da0-cecbed08bcc6"
  }
}