nips/Proposal-Subject-Discussion.md
2022-05-22 13:29:55 -05:00

780 B

NIP-??

I am implementing this as a trial in more-speech.

Subject tag in Text events.

draft optional author:unclebobmartin

This NIP defines the use of the Subject tag in text (kind: 1) events.

Subject

["subject": <string>]

Browsers often display threaded lists of messages. The contents of the subject tag can be used in such lists, instead of the more ad hoc approach of using the first few words of the message. This is very similar to the way email browsers display lists of incoming emails by subject rather than by contents.

When replying to a message with a subject, clients should replicate the subject tag.

Subjects should generally be shorter than 80 chars. Long subjects will likely be trimmed by clients.