mirror of https://github.com/lukechilds/nips.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
833 B
20 lines
833 B
2 years ago
|
NIP-14
|
||
2 years ago
|
======
|
||
|
|
||
2 years ago
|
Subject tag in Text events.
|
||
|
---------------------------
|
||
2 years ago
|
|
||
|
`draft` `optional` `author:unclebobmartin`
|
||
|
|
||
2 years ago
|
This NIP defines the use of the "subject" tag in text (kind: 1) events.
|
||
|
(implemented in more-speech)
|
||
2 years ago
|
|
||
2 years ago
|
`["subject": <string>]`
|
||
2 years ago
|
|
||
|
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.
|
||
|
|
||
2 years ago
|
When replying to a message with a subject, clients SHOULD replicate the subject tag. Clients MAY adorn the subject to denote
|
||
|
that it is a reply. e.g. by prepending "Re:".
|
||
2 years ago
|
|
||
2 years ago
|
Subjects should generally be shorter than 80 chars. Long subjects will likely be trimmed by clients.
|