Râu Cao on Nostr: This policy works: ...
This policy works:
https://gitea.kosmos.org/kosmos/akkounts/src/commit/0daac33915f827494feb4a5d6bb9ba5d49e6b904/extras/strfry/ldap-policy.ts#L18-L40I think everyone running a members-only relay should do this. Unless I missed something, in which case I'd love to learn why it's a bad idea!
Should paid relays accept zap receipts, if the pubkey that signed the contained zap request is on the allowlist to post? I think it would make sense.
I'm asking, because my Lightning account just received a zap with not a single relay in the list that it could post a receipt to:
["relays", "wss://nostr.wine/", "wss://theforest.nostr1.com/", "wss://filter.nostr.wine/?broadcast=true", "wss://purplepag.es/"]
Published at
2024-06-19 15:50:33Event JSON
{
"id": "831d29b887ea23328fbed98c859bc57bb944bff89a6c058d658bb64c8f3d8660",
"pubkey": "1f79058c77a224e5be226c8f024cacdad4d741855d75ed9f11473ba8eb86e1cb",
"created_at": 1718805033,
"kind": 1,
"tags": [
[
"p",
"1f79058c77a224e5be226c8f024cacdad4d741855d75ed9f11473ba8eb86e1cb",
"wss://njump.me/",
"mention"
]
],
"content": "This policy works: https://gitea.kosmos.org/kosmos/akkounts/src/commit/0daac33915f827494feb4a5d6bb9ba5d49e6b904/extras/strfry/ldap-policy.ts#L18-L40\n\nI think everyone running a members-only relay should do this. Unless I missed something, in which case I'd love to learn why it's a bad idea!\n\nnostr:nevent1qvzqqqqqqypzq8meqkx80g3yuklzymy0qfx2ekk56aqc2ht4ak03z3em4r4cdcwtqy88wumn8ghj7mn0wvhxcmmv9uq3vamnwvaz7tmjv4kxz7fwd4hhxarj9ec82c30qqsf65u3x35gtnzrymu47qyasgutkwmm36720at27z0ydktkl5mgh0sjvm709",
"sig": "fda7857f06f571779b7b3a465dc26258bc1fd2a4cecf6b8ea35623f0f43f90f3601bb7fa44ca3dd72d138612d6a3cc676eb2b12334ce70dc8f3db0b121bba3d1"
}