Skip to content

Bob sends Alice a Follow request, which is not answered yet

given: A new user called "alice"

given: A new user called "bob"

when: "bob" sends "alice" a Follow Activity

outgoing.Follow
{
  "actor": "http://banach/actor/ATwEsmtKGav-07TBJUaf8g",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Follow",
    "actor": "http://banach/actor/ATwEsmtKGav-07TBJUaf8g",
    "to": [
      "http://abel/actor/kyW0MdopSPHKp3qN-III8Q"
    ],
    "id": "follow:4345742d-3408-42ea-871b-c1ab48ca2f66",
    "published": "2024-11-08T18:34:44Z",
    "object": "http://abel/actor/kyW0MdopSPHKp3qN-III8Q"
  },
  "activity_type": "Follow"
}
incoming.Follow
{
  "actor": "http://abel/actor/kyW0MdopSPHKp3qN-III8Q",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "type": "Follow",
    "actor": "http://banach/actor/ATwEsmtKGav-07TBJUaf8g",
    "to": [
      "http://abel/actor/kyW0MdopSPHKp3qN-III8Q"
    ],
    "id": "follow:4345742d-3408-42ea-871b-c1ab48ca2f66",
    "published": "2024-11-08T18:34:44Z",
    "object": "http://abel/actor/kyW0MdopSPHKp3qN-III8Q"
  },
  "activity_type": "Follow"
}

then: The "followers" collection of "alice" does not include "bob"

receive.alice
{
  "action": "fetch_result",
  "actor": "http://abel/actor/kyW0MdopSPHKp3qN-III8Q",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "id": "http://abel/followers/X3RMQFBmYxZBEcG6-cSO3Q",
    "type": "OrderedCollection"
  }
}

then: The "following" collection of "bob" does not include "alice"

receive.bob
{
  "action": "fetch_result",
  "actor": "http://banach/actor/ATwEsmtKGav-07TBJUaf8g",
  "data": {
    "@context": "https://www.w3.org/ns/activitystreams",
    "id": "http://banach/following/T7OvgbdBb6SVJdhH8kFKZg",
    "type": "OrderedCollection"
  }
}