Undo
https://fedidevs.org/projects/server-apps/kbin/activities/undo/
When Kbin receives an Undo activity, it deletes the corresponding object from the database. Activity is used
with Follow
or Like
objects.
Reference | |
---|---|
Activity | Undo |
Object | Follow or Like |
Example
In this example, bob undo follow alice.
{
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://lab.kbin.pub/f/object/bf3848a8-15f6-42e1-a318-2cf1637d6814/accept",
"type": "Undo",
"actor": "https://lab.kbin.pub/u/bob",
"object": {
"id": "https://lab.kbin.pub/f/object/bf3848a8-15f6-42e1-a318-2cf1637d6814/accept",
"type": "Follow",
"actor": "https://lab.kbin.pub/u/bob",
"object": "https://mastodon.social/users/alice"
}
}