-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order of mentioned "p" tags in threads #1279
Comments
Anyone know the fraternal knowledge here? |
New tags are generally added at the end of the tag list. So, I would assume people usually do the opposite of what you are doing. Similar to the order of lists. |
That makes sense @vitorpamplona, thank you. Although the person being directly replied to may already exist in the thread, and in that case should be moved to the bottom of the list regardless. |
Sure, but I expect people to duplicate the p tag in those cases. |
I don't think the order was ever specified to mean anything. I don't think you can expect other clients to be doing it in any particular way. I could be wrong™ |
NIP-10 explicitly calls out that the replied-to event should come last. But it also says you should prefer to use marked "e" tags, and explicitly mark events as "root", "reply" or "mention". Ah, right, that's for "e" tags. I've seen clients intersperse "p" and "e" tags. I assume they keep the same ordering there, so that would point to keeping the replied-to person last in the list. |
I am putting the person being directly replied to as the first "p" tag. It seems other people are doing it in the reverse order. So it results in mentioned names being out of order:
Why are we doing that? Is everybody doing that? If so we should spec it.
The text was updated successfully, but these errors were encountered: