Skip to content

Bob sends Alice a Block, cannot message

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

send.Alice.request.create_actor
{
  "base_url": "http://abel",
  "preferred_username": "Alice",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Alice.response.create_actor
{
  "attachment": null,
  "published": "2026-03-20T15:21:49.652688",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ#legacy-key-1",
    "owner": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAq5akzuDIvDwoSKVPpOOZ\nCgvTrMHNrFm775SJzwWamt/IuFX14JmULHseu2Vq4ACvFfXhRarmgqL2maFwNgvj\n18hXg4piEPZlIYHsnegPXofyobBXU61BlF11zCKVDWwTmhJWLd9gID7ZT/tEGO5W\nbo8atqpfB+Obtbujv6zXSorUw8f9HfTzoUhMwLsPiIX5IiallNzYVGV2JycK/GdM\n/HXZADHmbeCmIsr838RT9SaWXG+kalFYrLvBM4FWtv6akOd3UMwL0WrmukI4g/Mf\nMzsHR1EmLsXZhZmu1Ly+ovJZdvqrURR2M50fZoEfirvuehhFFVDPUToEs2uLoUDf\nxQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
  "type": "Person",
  "inbox": "http://abel/inbox/eEVu_08MZMONP5n6UbK8RA",
  "outbox": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/outbox",
  "followers": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/followers",
  "following": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

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

send.Bob.request.create_actor
{
  "base_url": "http://abel",
  "preferred_username": "Bob",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Bob.response.create_actor
{
  "attachment": null,
  "published": "2026-03-20T15:21:50.270953",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ#legacy-key-1",
    "owner": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArt4e6RiRH4x/I793bBHo\n0sRqjz88KcM647H8I+RXA2T8pB87nGUcdbp97aBlkQNgCFTPACmPNMJh5OBOVcSx\nOwwRnyg2M+G/yf1fJcZ2whVywcmY63z/gWc+3AM97hfCuISvquZxzUvETVd7bkjK\nJ1ZKs5MwGKbnHf+rVIxmeE2+I2pX3t6aBvJCheLEZp9RYOuTyCkKjJj1o8wNeOwz\nGH7VTjbUuaTgUSGl+xsDJDfhP7PrbrIjgQnyW+WYolcpcKjwIcWn0EJr+CfYIp3Q\nPaJNSBaEhaOd+w6tRL1H9gNYLRB2AWm9zbq4MIlMyu3Af/ssFOoW4V6MiJd1hPJi\nFQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ",
  "type": "Person",
  "inbox": "http://abel/inbox/QyPA1QjeDSwWyf5vDsaE7A",
  "outbox": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ/outbox",
  "followers": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ/followers",
  "following": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ/following",
  "preferredUsername": "Bob",
  "name": "Bob",
  "identifiers": [
    "acct:Bob@abel",
    "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

when: "Alice" sends "Bob" a message saying "Hello Bob"

send.Alice.trigger.send_message
{
  "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Create",
    "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
    "to": [
      "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
    ],
    "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/83823e84b6788d9b",
    "published": "2026-03-20T15:21:50Z",
    "object": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Note",
      "attributedTo": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
      "to": [
        "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
      ],
      "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/2e9017f71fa1a02a",
      "published": "2026-03-20T15:21:50Z",
      "content": "Hello Bob"
    }
  }
}
receive.Alice.outgoing.Create
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
      "to": [
        "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
      ],
      "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/83823e84b6788d9b",
      "published": "2026-03-20T15:21:50Z",
      "object": {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Note",
        "attributedTo": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
        "to": [
          "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
        ],
        "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/2e9017f71fa1a02a",
        "published": "2026-03-20T15:21:50Z",
        "content": "Hello Bob"
      }
    }
  },
  "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
  "event_type": "outgoing",
  "history_id": null
}
receive.Bob.incoming.Create
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
      "to": [
        "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
      ],
      "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/83823e84b6788d9b",
      "published": "2026-03-20T15:21:50Z",
      "object": {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Note",
        "attributedTo": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
        "to": [
          "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
        ],
        "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/2e9017f71fa1a02a",
        "published": "2026-03-20T15:21:50Z",
        "content": "Hello Bob"
      }
    }
  },
  "actor": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ",
  "event_type": "incoming",
  "history_id": null
}

then: "Bob" receives a message saying "Hello Bob"

when: "Bob" blocks "Alice"

send.Bob.trigger.send_message
{
  "actor": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Block",
    "actor": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ",
    "to": [
      "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ"
    ],
    "id": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ/17fb1b37fe5f0c33",
    "published": "2026-03-20T15:21:50Z",
    "object": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ"
  }
}
receive.Bob.outgoing.Block
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Block",
      "actor": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ",
      "to": [
        "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ"
      ],
      "id": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ/17fb1b37fe5f0c33",
      "published": "2026-03-20T15:21:50Z",
      "object": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ"
    }
  },
  "actor": "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ",
  "event_type": "outgoing",
  "history_id": null
}

when: "Alice" sends "Bob" a message saying "howdy"

send.Alice.trigger.send_message
{
  "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Create",
    "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
    "to": [
      "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
    ],
    "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/8485566d3a9d3f78",
    "published": "2026-03-20T15:21:51Z",
    "object": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Note",
      "attributedTo": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
      "to": [
        "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
      ],
      "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/b5f1e7aeb584f490",
      "published": "2026-03-20T15:21:51Z",
      "content": "howdy"
    }
  }
}
receive.Alice.outgoing.Create
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
      "to": [
        "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
      ],
      "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/8485566d3a9d3f78",
      "published": "2026-03-20T15:21:51Z",
      "object": {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Note",
        "attributedTo": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
        "to": [
          "http://abel/actor/msFbrty1EjvH3ujW_gjMMQ"
        ],
        "id": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ/b5f1e7aeb584f490",
        "published": "2026-03-20T15:21:51Z",
        "content": "howdy"
      }
    }
  },
  "actor": "http://abel/actor/4lkTVx9oUR5kZ_W4g8e0GQ",
  "event_type": "outgoing",
  "history_id": null
}

then: "Bob" does not receive an activity