hzrd149 on Nostr: nielliesmons Vitor Pamplona would it be safe to say that if a NIP-17 DM contains a ...
nielliesmons (npub149p…722q) Vitor Pamplona (npub1gcx…nj5z) would it be safe to say that if a NIP-17 DM contains a "subject" tag or is longer than 10 or so lines that it could be considered "mail"?
Almost finished with an example of a nostr mail client using NIP-17 and applesauce. and the best part is its only 250 lines long 😁
The best part is that the code that replies to a message is just a few lines and it handles creating NIP-59 gift wraps for each participant in the conversation
Published at
2025-06-05 21:06:47Event JSON
{
"id": "0843ce1c58584fc1429b6c15696ad9db42f0361f1f664728a7475400ff038a40",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1749157607,
"kind": 1,
"tags": [
[
"p",
"a9434ee165ed01b286becfc2771ef1705d3537d051b387288898cc00d5c885be"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"q",
"a6ad8fbe7ad68d7a24509520a227dee4289071c0f7bc446c15ec20e9dc27c279",
"wss://nostrue.com/",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "nostr:npub149p5act9a5qm9p47elp8w8h3wpwn2d7s2xecw2ygnrxqp4wgsklq9g722q nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z would it be safe to say that if a NIP-17 DM contains a \"subject\" tag or is longer than 10 or so lines that it could be considered \"mail\"?\n\nnostr:nevent1qvzqqqqqqypzqfngzhsvjggdlgeycm96x4emzjlwf8dyyzdfg4hefp89zpkdgz99qyf8wumn8ghj7mn0wd68yat99e3k7mf0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qpq56kcl0n666xh5fzsj5s2yf77us5fquwq777ygmq4asswnhp8cfusqytahq",
"sig": "926969ae4cbc192094650ea82246416dd978a28dd1f2f102f91124cc823e495c1358da0b7b1acc18e08b3adebc7722b07b77825027529ac2bfccbfcdef57c7b6"
}