Retriever of Note not notified

I’m implementing my own ActivityPub server with services to interact with. On Firefish they appear in the notifications of the user, but not on Mastodon. When mentioning another user (already part of the conversation they don’t appear in the thread on that server, both Mastodon and Firefish.

Any idea what might cause this? Am I missing something in the actor or message which leads to the message being filtered? The POSTs to the inboxes of the retrievers are accepted.

This is my actor object

{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "https://w3id.org/security/v1"
    ],
    "id": "https://games.rerere.org/games/tic-tac-toe",
    "type": "Service",
    "inbox": "https://games.rerere.org/games/tic-tac-toe/inbox",
    "outbox": "https://games.rerere.org/games/tic-tac-toe/outbox",
    "following": "https://games.rerere.org/games/tic-tac-toe/following",
    "preferredUsername": "tic-tac-toe",
    "publicKey": {
        "id": "https://games.rerere.org/games/tic-tac-toe#main-key",
        "owner": "https://games.rerere.org/games/tic-tac-toe",
        "publicKeyPem": "-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEAt0ACFsr+ccJUa8oZN0r2sGljZDi2i5+yCWPfPwOd6ZUKJGozbpI+\nQPOa2Bua8rIrlnmCkIUoN7zhPOTqdnK91jIUVu9gvmkRTA7nZGk3X9Pxi6xfDegn\nWcV1vHTHuZ74gU1Y0u6W3e5o8FT5JkjpG/taBY3LLfh8wbtc9KJPYY0DYKXIar+c\nhcABdet6ZWAYmX1QJ1UolG0NlhpMToYHCJIIAoPD96RzzGumt4vi9aJcNfcwlaNx\nnYoLnPrZkCIHLrFS279X5JRWs0SI0pJvG4jb6s4bAs6fK7tbavBic5r2GXzcxl9v\neaGjZqVDy6w6NDOAoX8PQ2HouCuECNUfswIDAQAB\n-----END RSA PUBLIC KEY-----\n"
    }
}

And this is an example of the message:

{
    "@context": [
        "https://www.w3.org/ns/activitystreams",
        "http://joinmastodon.org/ns#"
    ],
    "id": "https://games.rerere.org/games/tic-tac-toe/1709668299/activity",
    "type": "Create",
    "to": [
        "https://gamerplus.org/users/9niy0yaqfmqwc4hl",
        "https://chaos.social/users/h4kor"
    ],
    "actor": "https://games.rerere.org/games/tic-tac-toe",
    "object": {
        "id": "https://games.rerere.org/games/tic-tac-toe/1709668299",
        "type": "Note",
        "content": "Field:<br>🟠2️⃣3️⃣<br>4️⃣🔵6️⃣<br>7️⃣8️⃣9️⃣<br><br>🔵 <a href=\"https: //gamerplus.org/users/9niy0yaqfmqwc4hl\" class=\"u-url mention\">@h4kor@gamerplus.org</a><br>🟠 <a href=\"https://chaos.social/users/h4kor\" class=\"u-url mention\">@h4kor@chaos.social</a><br>Its your turn: <a href=\"https://gamerplus.org/users/9niy0yaqfmqwc4hl\" class=\"u-url mention\">@h4kor@gamerplus.org</a>",
        "attributedTo": "https://games.rerere.org/games/tic-tac-toe",
        "inReplyTo": "https://chaos.social/users/h4kor/statuses/112044821631902560",
        "tag": [
            {
                "id": "https://gamerplus.org/users/9niy0yaqfmqwc4hl",
                "type": "Mention"
            },
            {
                "id": "https://chaos.social/users/h4kor",
                "type": "Mention"
            }
        ],
        "to": [
            "https://gamerplus.org/users/9niy0yaqfmqwc4hl",
            "https://chaos.social/users/h4kor"
        ],
        "published": "2024-03-05T19:51:39Z"
    }
}

Welcome to SocialHub!!!

The id should be a href.

Hope this helps!

2 Likes

Thanks!

This was the solution. Spent way too long on that :sweat_smile: