Sjors Provoost

sjors@sprovoost.nl

In reply to a note not in this archive

Replying to a note
There's various subtle bugs that can prevent toots from making it across the bridge. Well, at least I know one that involves mentioning a user that your relay hasn't seen yet. That caused Mastodon to give up posting to the bridged user inbox. gitlab.com/soapbox-pub/mostr/-/merge_requests/118 Lots of logging required to figure out why something doesn't work.
GitLab · gitlab.com/soapbox-pub/mostr/-/merge_requests/118getEvent should resolve(null) when 0 matches are found (!118) · Merge requests · Soapbox / Mostr · GitLabFetching an existing user works: wget --header='accept:application/json' https://mostr.pub/users/8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8 But try...
In this case I think it's not bridging boosts note19lrtw7m4t6y0w9apjnlzp627t72tlqymp2wz54z80ck6ne7y2erqm074sd
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.
No actually activity.published refers to the published field of the Announce event. Just tried with a news article from 6 hours ago. Damus wouldn't show it in my timeline, even when I scroll down to the time. Until I kill the app and restart, at which point my relay hands it over. And it's shown at the top of my feed. Maybe it's something about the sequencing of nostr events that confuses relays / clients?

← More from Sjors Provoost