mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
remove reserved range from NIP-28.
This commit is contained in:
parent
b99723efcc
commit
6eb1838921
8
28.md
8
28.md
|
@ -9,7 +9,7 @@ Public Chat
|
||||||
|
|
||||||
This NIP defines new event kinds for public chat channels, channel messages, and basic client-side moderation.
|
This NIP defines new event kinds for public chat channels, channel messages, and basic client-side moderation.
|
||||||
|
|
||||||
It reserves five event kinds (40-44) for immediate use and five event kinds (45-49) for future use.
|
It reserves five event kinds (40-44) for immediate use:
|
||||||
|
|
||||||
- `40 - channel create`
|
- `40 - channel create`
|
||||||
- `41 - channel metadata`
|
- `41 - channel metadata`
|
||||||
|
@ -138,12 +138,6 @@ For [NIP-10](10.md) relay recommendations, clients generally SHOULD use the rela
|
||||||
Clients MAY recommend any relay URL. For example, if a relay hosting the original kind 40 event for a channel goes offline, clients could instead fetch channel data from a backup relay, or a relay that clients trust more than the original relay.
|
Clients MAY recommend any relay URL. For example, if a relay hosting the original kind 40 event for a channel goes offline, clients could instead fetch channel data from a backup relay, or a relay that clients trust more than the original relay.
|
||||||
|
|
||||||
|
|
||||||
Future extensibility
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
We reserve event kinds 45-49 for other events related to chat, to potentially include new types of media (photo/video), moderation, or support of private or group messaging.
|
|
||||||
|
|
||||||
|
|
||||||
Motivation
|
Motivation
|
||||||
----------
|
----------
|
||||||
If we're solving censorship-resistant communication for social media, we may as well solve it also for Telegram-style messaging.
|
If we're solving censorship-resistant communication for social media, we may as well solve it also for Telegram-style messaging.
|
||||||
|
|
|
@ -40,8 +40,8 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
|
||||||
|
|
||||||
## Event Kinds
|
## Event Kinds
|
||||||
| kind | description | NIP |
|
| kind | description | NIP |
|
||||||
| ------------- | -------------------------------- | ----------------------- |
|
| ------------- | -------------------------------- | ----------- |
|
||||||
| 0 | Metadata | [1](01.md), [5](05.md) |
|
| 0 | Metadata | [1](01.md) |
|
||||||
| 1 | Short Text Note | [1](01.md) |
|
| 1 | Short Text Note | [1](01.md) |
|
||||||
| 2 | Recommend Relay | [1](01.md) |
|
| 2 | Recommend Relay | [1](01.md) |
|
||||||
| 3 | Contacts | [2](02.md) |
|
| 3 | Contacts | [2](02.md) |
|
||||||
|
@ -54,7 +54,6 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
|
||||||
| 42 | Channel Message | [28](28.md) |
|
| 42 | Channel Message | [28](28.md) |
|
||||||
| 43 | Channel Hide Message | [28](28.md) |
|
| 43 | Channel Hide Message | [28](28.md) |
|
||||||
| 44 | Channel Mute User | [28](28.md) |
|
| 44 | Channel Mute User | [28](28.md) |
|
||||||
| 45-49 | Public Chat Reserved | [28](28.md) |
|
|
||||||
| 1984 | Reporting | [56](56.md) |
|
| 1984 | Reporting | [56](56.md) |
|
||||||
| 9734 | Zap Request | [57](57.md) |
|
| 9734 | Zap Request | [57](57.md) |
|
||||||
| 9735 | Zap | [57](57.md) |
|
| 9735 | Zap | [57](57.md) |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user