diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-03-07 07:28:53 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-03-07 07:28:53 -0300 |
| commit | 6eb18389212430f91f293f7a57895b05b9e37e13 (patch) | |
| tree | c8c5f8d0c83c59662ec38cb58c7e81cc7ad3edbf /28.md | |
| parent | b99723efcca383affd43eb2efb5b25c949346588 (diff) | |
remove reserved range from NIP-28.
Diffstat (limited to '28.md')
| -rw-r--r-- | 28.md | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -9,7 +9,7 @@ Public Chat | |||
| 9 | 9 | ||
| 10 | This NIP defines new event kinds for public chat channels, channel messages, and basic client-side moderation. | 10 | This NIP defines new event kinds for public chat channels, channel messages, and basic client-side moderation. |
| 11 | 11 | ||
| 12 | It reserves five event kinds (40-44) for immediate use and five event kinds (45-49) for future use. | 12 | It reserves five event kinds (40-44) for immediate use: |
| 13 | 13 | ||
| 14 | - `40 - channel create` | 14 | - `40 - channel create` |
| 15 | - `41 - channel metadata` | 15 | - `41 - channel metadata` |
| @@ -138,12 +138,6 @@ For [NIP-10](10.md) relay recommendations, clients generally SHOULD use the rela | |||
| 138 | 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. | 138 | 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. |
| 139 | 139 | ||
| 140 | 140 | ||
| 141 | Future extensibility | ||
| 142 | -------------------- | ||
| 143 | |||
| 144 | 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. | ||
| 145 | |||
| 146 | |||
| 147 | Motivation | 141 | Motivation |
| 148 | ---------- | 142 | ---------- |
| 149 | If we're solving censorship-resistant communication for social media, we may as well solve it also for Telegram-style messaging. | 143 | If we're solving censorship-resistant communication for social media, we may as well solve it also for Telegram-style messaging. |