manime on Nostr: Thank you Pablo. FWIW… I had to use relay.publish() to get the actual OK `message` ...
Thank you Pablo. FWIW… I had to use relay.publish() to get the actual OK `message` (4th element in array) sent by rely (regardless of `accepted` 3rd element), because event.publish() only returns a list of relays who send OK with `accepted` == `true`.
Published at
2024-11-20 21:37:41Event JSON
{
"id": "88344a819d0b334a16590d3ab2346b0dbf2b6e9e6d88c55d048113e0afdb8aff",
"pubkey": "df67f9a7e41125745cbe7acfbdcd03691780c643df7bad70f5d2108f2d4fc200",
"created_at": 1732138661,
"kind": 1,
"tags": [
[
"e",
"46a2ffc767971ec591969d575839297c4debc170faa4a33bc37fb68b92af973b",
"",
"root"
],
[
"e",
"e453ca035d48879ddab42705c81f2903d3d72f1b1a9d60e5332f916555cfa800",
"",
"reply"
],
[
"p",
"40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451"
],
[
"p",
"df67f9a7e41125745cbe7acfbdcd03691780c643df7bad70f5d2108f2d4fc200"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"p",
"1739d937dc8c0c7370aa27585938c119e25c41f6c441a5d34c6d38503e3136ef"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "Thank you Pablo. FWIW… I had to use relay.publish() to get the actual OK `message` (4th element in array) sent by rely (regardless of `accepted` 3rd element), because event.publish() only returns a list of relays who send OK with `accepted` == `true`.",
"sig": "d99f6b187bcf4ade125213be7f612b91c78de835ef34f140d61419a44d79a01430485c13a36d241356692f3acf6b000433cd8a9a0f48a4217e2269900938e841"
}