So if you come into possession of the root, can you can query for all posts that have the same root in a single query using NIP-12? Rather than getting the parent, then the next parent, then ...
Discussion
depends on what you're trying to achieve, you can still use the two scenarios to reconstruct a thread.
If you want the whole thread, then you can do `{"ids":["root_id"]}, {"#e":["root_id"]}` as a request to get the root event and all events that reference it. you can of course refine that search with any other field that suits your case, like only certain `kinds` or only from `authors` you follow, etc, OR, you can simply reconstruct a particular discussion on a thread by going up the reply chain one by one.