provoost on Nostr: A retoot on Mastodon is an Announce activity for ActivityPub. Assuming it hits the ...
A retoot on Mastodon is an Announce activity for ActivityPub. Assuming it hits the Mostr inbox, it gets processed here:
Assuming it's a new user, Mostr creates an npub for it and publish the original note.
And then it goes and publishes a kind6 to represent a repost:
And if all goes well you'll see that in your Nostr timeline.
But I suspect the problem here is `created_at: toNostrDate(activity.published)`, if you're reposting something from a week ago like in this example.
Let me try to reproduce that, and then see what happens if I change the repost date to now - which makes more sense anyway.
Published at
2024-09-24 10:55:59Event JSON
{
"id": "19a83e6605d9c53f1c8c8145331201ff31fb1a9f0b84897d6381c3d956a14030",
"pubkey": "8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8",
"created_at": 1727175359,
"kind": 1,
"tags": [
[
"e",
"0000defe7e88df3572fa11d7ad07489495878b8e771032b959c608c3972c4f10",
"wss://relay.damus.io/",
"root"
],
[
"e",
"36fe9fd93f3d73b67a65fc440c9cad80eef0645bb1f5646ce6b368cc0c32b38d",
"wss://nostr.sprovoost.nl/",
"reply"
],
[
"p",
"0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738",
"",
"mention"
]
],
"content": "A retoot on Mastodon is an Announce activity for ActivityPub. Assuming it hits the Mostr inbox, it gets processed here:\nhttps://img.sprovoost.nl/f158bc61865e71d4d55a927e1df7ea80b0aff98eb1b47162502839f7b7c9edfb.png\n\nAssuming it's a new user, Mostr creates an npub for it and publish the original note.\n https://img.sprovoost.nl/f139c487772fe4215e4e231e615a06b413354a5dd4d4f60fa3a1be872e97dd7c.png\n\nAnd then it goes and publishes a kind6 to represent a repost:\n\n https://img.sprovoost.nl/e8f57b30994d99dc2a5d508f14d786b0d172a6bbf79ac128042bf1f44a4f72e2.png\n\nAnd if all goes well you'll see that in your Nostr timeline.\n\nBut I suspect the problem here is `created_at: toNostrDate(activity.published)`, if you're reposting something from a week ago like in this example.\n\nLet me try to reproduce that, and then see what happens if I change the repost date to now - which makes more sense anyway.",
"sig": "fb16262edd1bc2424e9d1604ef3da4f0c80f6d7e203731f06f106bfa2ade349519de952d7c72a1e535d9e717beca91ff621197c6e0e390c446149638835eea4a"
}