Skip to content

Bob sends Alice a Block, cannot message

given: "Alice" created an actor on "abel" called "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": "2025-12-19T09:51:14.365196",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg#legacy-key-1",
    "owner": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwYXiPBf6YwoZ+hIVsePE\nF2SRIsFXuI/D3zLO/pdsI5z08Ujcs1N9V+wHYCjbjWbKwVCb+5/xhgDvx4KBo5J1\nYA0Ifu+DFlw6Nhknw/yjCAZS3214YsfX7vqiUkM/rPpu0oMB/gzzVsOOGfBfMaqg\nOXiOirGvw16tvDs23Z9pHNf7op9577U9u8DEBJEAlrZ1txaH47Son64fcRovK3/4\ndsidVoI0ee5QfCRUv69nfZxTS/uPu5NJV1g4G8mkBr3ZmjkjrUgAGzT+NLyBufJa\nA6h48jW382zYJa/r8//laFU+A6RNxF6A2fh94Y2e0h5pFG5mJGrV6RIJbcL4Jg4y\n9wIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
  "type": "Person",
  "inbox": "http://abel/inbox/PhbqcQVgCTUieHPrQtnc5A",
  "outbox": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/outbox",
  "followers": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/followers",
  "following": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

given: "Bob" created an actor on "banach" called "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": "2025-12-19T09:51:15.200929",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ#legacy-key-1",
    "owner": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAi7i3CFChO5g19zAAmBmf\nnhoMRAwX4VthEmR3u3d5XGiUrllSggJgVdYFem/qvp3BcFTyqErnsROZgrSM20jJ\nznZNTXI2iqONxRPah3dJ+S5nCA4hARvymv4ffmjjDF0m/EkmaW+nZjj5FwUTAek/\nvCg3sfI5aav1Tb8o47xNk1c/6zOX/gSyqz72XkXOqZGpGke5DVlkMcfhi+947ZXp\ntR5bYHB0B/XKzuV8Idc0Uq3fTDA3U/L5ZDNHi54v9Z9xKEfay1vtQ7SRuSKunJHH\ndLhFmezOK8g8oUTwhKTI1FFAcJQgOlC47m0Bvlc/HT/9JXHkBB3o4eaEqBYQIk9A\nIQIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ",
  "type": "Person",
  "inbox": "http://banach/inbox/nPP7trok1JPHZ2_eICmxJQ",
  "outbox": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ/outbox",
  "followers": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ/followers",
  "following": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ/following",
  "preferredUsername": "Bob",
  "name": "Bob",
  "identifiers": [
    "acct:Bob@banach",
    "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
  ],
  "endpoints": {
    "sharedInbox": "http://banach/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

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

send.Alice.trigger.send_message
{
  "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Create",
    "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
    "to": [
      "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
    ],
    "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/805f6e7b49bf6e2c",
    "published": "2025-12-19T09:51:15Z",
    "object": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Note",
      "attributedTo": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
      "to": [
        "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
      ],
      "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/febf867a0f023413",
      "published": "2025-12-19T09:51:15Z",
      "content": "Hello Bob"
    }
  }
}
receive.Alice.outgoing.Create
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
      "to": [
        "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
      ],
      "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/805f6e7b49bf6e2c",
      "published": "2025-12-19T09:51:15Z",
      "object": {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Note",
        "attributedTo": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
        "to": [
          "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
        ],
        "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/febf867a0f023413",
        "published": "2025-12-19T09:51:15Z",
        "content": "Hello Bob"
      }
    }
  },
  "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
  "event_type": "outgoing",
  "history_id": null
}

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

receive.Bob.incoming.Create
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
      "to": [
        "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
      ],
      "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/805f6e7b49bf6e2c",
      "published": "2025-12-19T09:51:15Z",
      "object": {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Note",
        "attributedTo": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
        "to": [
          "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
        ],
        "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/febf867a0f023413",
        "published": "2025-12-19T09:51:15Z",
        "content": "Hello Bob"
      }
    }
  },
  "actor": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ",
  "event_type": "incoming",
  "history_id": null
}

when: "Bob" blocks "Alice"

send.Bob.trigger.send_message
{
  "actor": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Block",
    "actor": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ",
    "to": [
      "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg"
    ],
    "id": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ/f807626c99aa0dc7",
    "published": "2025-12-19T09:51:16Z",
    "object": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg"
  }
}
receive.Bob.outgoing.Block
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Block",
      "actor": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ",
      "to": [
        "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg"
      ],
      "id": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ/f807626c99aa0dc7",
      "published": "2025-12-19T09:51:16Z",
      "object": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg"
    }
  },
  "actor": "http://banach/actor/DI87iHknWUaDfILRLLJTNQ",
  "event_type": "outgoing",
  "history_id": null
}

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

send.Alice.trigger.send_message
{
  "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Create",
    "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
    "to": [
      "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
    ],
    "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/57bac7026ff6be50",
    "published": "2025-12-19T09:51:16Z",
    "object": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Note",
      "attributedTo": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
      "to": [
        "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
      ],
      "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/38b7dadbacc7d850",
      "published": "2025-12-19T09:51:16Z",
      "content": "howdy"
    }
  }
}
receive.Alice.outgoing.Create
{
  "data": {
    "raw": {
      "@context": "https://www.w3.org/ns/activitystreams",
      "type": "Create",
      "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
      "to": [
        "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
      ],
      "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/57bac7026ff6be50",
      "published": "2025-12-19T09:51:16Z",
      "object": {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Note",
        "attributedTo": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
        "to": [
          "http://banach/actor/DI87iHknWUaDfILRLLJTNQ"
        ],
        "id": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg/38b7dadbacc7d850",
        "published": "2025-12-19T09:51:16Z",
        "content": "howdy"
      }
    }
  },
  "actor": "http://abel/actor/6zaGCuk3V18T8wuI2KE6lg",
  "event_type": "outgoing",
  "history_id": null
}

then: "Bob" does not receive an activity