This is one of many protocol behaviors described in ActivityPub.

Identifier

urn:uuid:37ea3238-a8a1-4731-b6b9-2134ed3bd5dd

Content

Such deduplication MUST be performed by comparing the id of the activities and dropping any activities already seen.

Origin

prefix The server MUST perform de-duplication of activities returned by the inbox. Duplication can occur if an activity is addressed both to an actor's followers, and a specific actor who also follows the recipient actor, and the server has failed to de-duplicate the recipients list.

Such deduplication MUST be performed by comparing the id of the activities and dropping any activities already seen.
 
suffix The inboxes of actors on federated servers accepts HTTP POST requests, with behaviour described in Delivery.

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

JSON

{
  "id": "urn:uuid:37ea3238-a8a1-4731-b6b9-2134ed3bd5dd",
  "type": "Behavior",
  "uuid": "37ea3238-a8a1-4731-b6b9-2134ed3bd5dd",
  "content": "Such deduplication MUST be performed by comparing the id of the activities and dropping any activities already seen.",
  "origin": {
    "source": "https://www.w3.org/TR/activitypub/",
    "section": {
      "id": "https://www.w3.org/TR/activitypub/#inbox",
      "branch": [
        5,
        2
      ]
    },
    "selector": {
      "type": "TextQuoteSelector",
      "exact": "Such deduplication MUST be performed by comparing the id of the activities and dropping any activities already seen.\n",
      "prefix": "The server MUST perform de-duplication of activities returned by the inbox. Duplication can occur if an activity is addressed both to an actor's followers, and a specific actor who also follows the recipient actor, and the server has failed to de-duplicate the recipients list.\n",
      "suffix": "The inboxes of actors on federated servers accepts HTTP POST requests, with behaviour described in Delivery.\n"
    }
  },
  "seeAlso": [
    "urn:uuid:2a0323ec-2500-4bc3-b116-11e641035d2f"
  ],
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://socialweb.coop/ns/testing/context.json"
  ]
}