jb55 on Nostr: Ah there is already a fix for this using the AUTH spec. Just don’t return DM kinds ...
Ah there is already a fix for this using the AUTH spec. Just don’t return DM kinds unless you are a participant.
Published at
2023-04-23 12:42:22Event JSON
{
"id": "0b69acc289c083feaa6ceee35f1de1aa25472f6c3180dacfc43fe8a8c220bf73",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1682246542,
"kind": 1,
"tags": [
[
"e",
"5eb6d1d175cbcabfcd2ed2a0a4df5e15d14a42fd8ae9d4a91e979883cc5def6f",
""
],
[
"e",
"a078690f984db499197ed497c92a42a8d3765b4894ed2448a9ced4c841e5f9a5"
],
[
"p",
"af30bf9b7c8843a1f323699a8320a879dfee4b17512696fec39969db284af14a"
],
[
"p",
"af30bf9b7c8843a1f323699a8320a879dfee4b17512696fec39969db284af14a"
]
],
"content": "Ah there is already a fix for this using the AUTH spec. Just don’t return DM kinds unless you are a participant. ",
"sig": "b7a9c01ff5302dadb96e6bed1a0ca395736d896c6c3ebb181caa3f54ed3251e51ccedc43cdee038720cdf6404e3600064a438ff9f1ffba57444d623e454e13f8"
}