balas on Nostr: when you create a reply, the only tag you care is if there's a root to include ...
when you create a reply, the only tag you care is if there's a root to include because you already have the reply at hand, so searching for `root` is what's needed, otherwise you get into a if / else war to know if there's no `root` because it's a root or because it doesn't mark tags.. the root id is the constant on a thread.
Published at
2022-12-02 23:53:12Event JSON
{
"id": "b146a87737dc21d1e638a802d4f46848d2c0bdbf1c94c52ac69175b17165b726",
"pubkey": "9ec7a778167afb1d30c4833de9322da0c08ba71a69e1911d5578d3144bb56437",
"created_at": 1670025192,
"kind": 1,
"tags": [
[
"e",
"bf66848c3f822c10b7b788e66762e140df781d016ec544d1c81cc2c368886226",
"wss://nostr.drss.io",
"root"
],
[
"e",
"547d9ae59f4af5df41a951549746905c0cb37dfdd4401c902f7203488be8ede7",
"wss://nostr-pub.wellorder.net",
"reply"
],
[
"p",
"46fcbe3065eaf1ae7811465924e48923363ff3f526bd6f73d7c184b16bd8ce4d"
],
[
"p",
"8c0da4862130283ff9e67d889df264177a508974e2feb96de139804ea66d6168"
],
[
"p",
"de8ef91036c0d79596b65fef304cd759d4aabbd8c653b29077c0dccb32e4e9ef"
],
[
"p",
"de8ef91036c0d79596b65fef304cd759d4aabbd8c653b29077c0dccb32e4e9ef"
]
],
"content": "when you create a reply, the only tag you care is if there's a root to include because you already have the reply at hand, so searching for `root` is what's needed, otherwise you get into a if / else war to know if there's no `root` because it's a root or because it doesn't mark tags.. the root id is the constant on a thread.",
"sig": "dfdc78a58be11bef3e900297c12f3de0c1a1fd2a835133e74736f417d3c51dc07dd96d25dbac20196e6d1d3cd3a5504c5844d588a3e67af373ab50165264cca2"
}