Skip to content

Unblocks are not forwarded to the user

given: "Alice" created an actor on "banach" called "Alice" with username "Alice"

send.Alice.request.create_actor
{
  "base_url": "http://banach",
  "preferred_username": "Alice",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Alice.response.create_actor
{
  "attachment": null,
  "published": "2026-03-20T15:22:50.176408",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA#legacy-key-1",
    "owner": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwO4H8ZmMqJTW7zq356wi\n3ILbTX4hV/NrEqlBfE9FIkWYKyoDtc0bU9hr1DfIthuEXEgGNSMDBY7zrirBRE7z\n1chuwFFF24g1SJSBbmuGWfKo1IN1C4YykAj8CFe9NifgTVk/TE6gyproh17y/8ZL\n3mRWQF7+1csl5VpkI6GD8vCfMnKyWFtJVq56+5Sq2z0OceaFq1CxUdDz8YdPPADV\noF29W/hPpoVjA4hBRDhF0s8FOhbgKmOiINeNJAdmYA0c2f/9Jyp5SHq0zmW9d+LH\nezElCjT9l27Ot/vRoIXG4M4TqLrEOwGZZlxzmz2pl74M4v3lqMC2gchfUhCGJxQm\n5QIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA",
  "type": "Person",
  "inbox": "http://banach/inbox/18wBlSYtWq5nFvele0oe8w",
  "outbox": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA/outbox",
  "followers": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA/followers",
  "following": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@banach",
    "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA"
  ],
  "endpoints": {
    "sharedInbox": "http://banach/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Bob" created an actor on "banach" called "Bob" with username "Bob"

send.Bob.request.create_actor
{
  "base_url": "http://banach",
  "preferred_username": "Bob",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Bob.response.create_actor
{
  "attachment": null,
  "published": "2026-03-20T15:22:50.814915",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ#legacy-key-1",
    "owner": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAomKVUnT9ZajfGVR0MdvU\nQtcPveoFZTvtHBqDtE8t70Qp1Smlk1FvxbCK80faTiEPCOC4Z1pGhQoweJItMgDs\nZU1y8kf8F1qgYg8rWQgj3moPZtulJ1eTcMoVi5T6qsQov7JJkS0QhKpY/JddOrFc\njDegplGBz4H6eB80BE2b9zZf2MlMNU+56cxdYlzvMG+DPYbgNeC7BgXgrb/voaa2\nTs27OnIMjv3vUeQx2E3u7T/h67Gm7gvXPAiPRV5rymE0el1ikxbYMjh64cGvD/3M\nmKm718Tlor9uj6OgSQXX0dR8LNPLwog2wv2pGGbGUXH2KevV+uTdlMqT2DczBS53\nPQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
  "type": "Person",
  "inbox": "http://banach/inbox/JkT7SFi0z5JjhgOlUzU2_Q",
  "outbox": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ/outbox",
  "followers": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ/followers",
  "following": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ/following",
  "preferredUsername": "Bob",
  "name": "Bob",
  "identifiers": [
    "acct:Bob@banach",
    "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ"
  ],
  "endpoints": {
    "sharedInbox": "http://banach/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Bob" blocks "Alice"

send.Bob.trigger.send_message
{
  "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Block",
    "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
    "to": [
      "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA"
    ],
    "id": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ/98f1fc6fefe46e82",
    "published": "2026-03-20T15:22:50Z",
    "object": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA"
  }
}
receive.Bob.outgoing.Block
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Block",
      "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
      "to": [
        "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA"
      ],
      "id": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ/98f1fc6fefe46e82",
      "published": "2026-03-20T15:22:50Z",
      "object": "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA"
    }
  },
  "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
  "event_type": "outgoing",
  "history_id": null
}

when: "Bob" unblocks "Alice"

send.Bob.trigger.send_message
{
  "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Undo",
    "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
    "to": [
      "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA"
    ],
    "published": "2026-03-20T15:22:51Z",
    "object": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ/98f1fc6fefe46e82",
    "id": "undo:89b7e4e3-8d05-4170-8c5d-dd360930840f"
  }
}
receive.Bob.outgoing.Undo
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Undo",
      "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
      "to": [
        "http://banach/actor/EzSumupJ9i8Ikh0LcGrVJA"
      ],
      "published": "2026-03-20T15:22:51Z",
      "object": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ/98f1fc6fefe46e82",
      "id": "undo:89b7e4e3-8d05-4170-8c5d-dd360930840f"
    }
  },
  "actor": "http://banach/actor/w0A-1FCHy0pwwkokv76hmQ",
  "event_type": "outgoing",
  "history_id": null
}

then: "Alice" does not receive an activity