This is one of many protocol behaviors described in ActivityPub.

Identifier

urn:uuid:4aec135c-45bb-45b2-8cee-27685b39e8ac

Content

In the case of a Reject, the server MUST NOT add the actor to the object actor's Followers Collection.

Origin

prefix In the case of receiving an Accept referencing this Follow as the object, the server SHOULD add the actor to the object actor's Followers Collection.

In the case of a Reject, the server MUST NOT add the actor to the object actor's Followers Collection.
 
suffix Note

https://www.w3.org/TR/activitypub/

JSON

{
  "id": "urn:uuid:4aec135c-45bb-45b2-8cee-27685b39e8ac",
  "uuid": "4aec135c-45bb-45b2-8cee-27685b39e8ac",
  "type": "Behavior",
  "content": "In the case of a Reject, the server MUST NOT add the actor to the object actor's Followers Collection.\n",
  "context": [
    "https://www.w3.org/TR/activitypub/",
    {
      "name": "7. Server to Server Interactions",
      "id": "https://www.w3.org/TR/activitypub/#server-to-server-interactions"
    },
    {
      "name": "7.5 Follow Activity",
      "id": "https://www.w3.org/TR/activitypub/#follow-activity-inbox"
    }
  ],
  "origin": {
    "source": "https://www.w3.org/TR/activitypub/",
    "section": {
      "id": "https://www.w3.org/TR/activitypub/#follow-activity-inbox",
      "branch": [
        7,
        5
      ]
    },
    "selector": {
      "prefix": "In the case of receiving an Accept referencing this Follow as the object, the server SHOULD add the actor to the object actor's Followers Collection.\n",
      "exact": "In the case of a Reject, the server MUST NOT add the actor to the object actor's Followers Collection.\n",
      "suffix": "Note\n"
    }
  },
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://socialweb.coop/ns/testing/context.json"
  ]
}