mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-18 20:21:35 +00:00
m tags
This commit is contained in:
parent
d2a6cbe762
commit
eba3399f4e
8
79.md
8
79.md
@ -19,6 +19,14 @@ with synchronous messaging, and only defines ephemeral message kinds. It is a ba
|
|||||||
explicit moderation capability, only user's own mute lists to have the relay not send them spam, and the use of hashtags
|
explicit moderation capability, only user's own mute lists to have the relay not send them spam, and the use of hashtags
|
||||||
as a channel specifier.
|
as a channel specifier.
|
||||||
|
|
||||||
|
## Mimetypes
|
||||||
|
|
||||||
|
the `m` tag is already normalized as meaning "mimetype" in teh http protocol sense, and we are going to maintain this.
|
||||||
|
so, messages can have a mimetype `m` tag, and normally that will be `text/markdown` but it can also be `text/html` or
|
||||||
|
other things.
|
||||||
|
|
||||||
|
this should be not `optional` all messages using the kinds defined in this protocol must use an `m` tag.
|
||||||
|
|
||||||
## Message Kinds
|
## Message Kinds
|
||||||
|
|
||||||
There are three new event kinds defined for this protocol:
|
There are three new event kinds defined for this protocol:
|
||||||
|
Loading…
Reference in New Issue
Block a user