Julian Fietkau on Nostr: npub19lt42…6qfjk Then I'll make it short: The assumption that a server has a shared ...
npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk (npub19lt…qfjk) Then I'll make it short: The assumption that a server has a shared inbox at /inbox does not generalize, as even the existence of a shared inbox is not mandated by anything.
What you'd need to do is when someone follows, you fetch their actor data and store at minimum their inbox and/or shared inbox.
For sending, I build a set of all shared inboxes that occur more than once, and use the individual inboxes for the rest.
Published at
2024-02-18 13:38:49Event JSON
{
"id": "6faa4f6551606097843a7538129ecf45b7d4b0fc96e927797ee0c7f55b24d01d",
"pubkey": "0ac8163abe84c30e16d1dde052f1e5773e962cc2211d6b5dc06e46bb3babaa8f",
"created_at": 1708263529,
"kind": 1,
"tags": [
[
"p",
"2fd7551ebb45c06cd85bd4e9391b8399866b82e36755fcf20d8739497692c930",
"wss://relay.mostr.pub"
],
[
"p",
"fddf487eea9db57a6e320f80e5cb63de50bedf539695a41c0d447be6c23643e1",
"wss://relay.mostr.pub"
],
[
"e",
"1eec1a762b36affa2ca84fae7472372b656a5998c0258ab477c91980265938b6",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fietkau.social/users/julian/statuses/111952758658704229",
"activitypub"
]
],
"content": "nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk Then I'll make it short: The assumption that a server has a shared inbox at /inbox does not generalize, as even the existence of a shared inbox is not mandated by anything.\n\nWhat you'd need to do is when someone follows, you fetch their actor data and store at minimum their inbox and/or shared inbox.\n\nFor sending, I build a set of all shared inboxes that occur more than once, and use the individual inboxes for the rest.",
"sig": "d38f1c953c2755c4de0b86e9551f8d15b7ed5e76541b3c03077d2885eb9e1438c8a1078202a0e37bf18236d1336677d4a6a07cf98fe5cc3bd14bd6a98cd2e66b"
}