TheBitCouncil on Nostr: if you're writing nostr code, use something like this: content.displayName || ...
if you're writing nostr code, use something like this:
content.displayName || content.display_name || content.name || content.username
Published at
2024-11-13 03:19:48Event JSON
{
"id": "83b16807f7d997cddb20faac68976cb24410f284f2898d4ff5c79cc10d1552b1",
"pubkey": "4b5ebf446764e330644d4162924a86a73c5173098cbb00db0a690b097006a08e",
"created_at": 1731467988,
"kind": 1,
"tags": [
[
"e",
"d87db4aa50361e2936236045a69d98e6c0318bc409160938e16ec6ae8b6ee672",
"",
"root"
],
[
"e",
"a1da52b67bb86326d34839015764515b818905dc2d9607db70d8a901932145b1",
"",
"reply"
],
[
"p",
"ec965405e11a6a6186b27fa451a2ffc1396ede7883d2ea11c32fbd2c63996966",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "if you're writing nostr code, use something like this:\n\ncontent.displayName || content.display_name || content.name || content.username",
"sig": "7cc65c7e6796efafe1bb2410b61affc4d0e5dff959bfceb3b7ae0e5a36aa63654d0e74f464e36c4ea3539c7e93402ab5bb6e4ee0be7dbf1910b422b15da41432"
}