diff options
| -rw-r--r-- | 34.md | 19 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 2 insertions, 19 deletions
| @@ -125,24 +125,7 @@ Issues may have a `subject` tag, which clients can utilize to display a header. | |||
| 125 | 125 | ||
| 126 | ## Replies | 126 | ## Replies |
| 127 | 127 | ||
| 128 | Replies are also Markdown text. The difference is that they MUST be issued as replies to either a `kind:1621` _issue_ or a `kind:1617` _patch_ event. The threading of replies and patches should follow NIP-10 rules. | 128 | Replies to either a `kind:1621` _issue_ or a `kind:1617` _patch_ event should follow [NIP-22 comment](22.md). |
| 129 | |||
| 130 | ```jsonc | ||
| 131 | { | ||
| 132 | "kind": 1622, | ||
| 133 | "content": "<markdown text>", | ||
| 134 | "tags": [ | ||
| 135 | ["a", "30617:<base-repo-owner-pubkey>:<base-repo-id>", "<relay-url>"], | ||
| 136 | ["e", "<issue-or-patch-id-hex>", "", "root"], | ||
| 137 | |||
| 138 | // other "e" and "p" tags should be applied here when necessary, following the threading rules of NIP-10 | ||
| 139 | ["p", "<patch-author-pubkey-hex>", "", "mention"], | ||
| 140 | ["e", "<previous-reply-id-hex>", "", "reply"], | ||
| 141 | // rest of tags... | ||
| 142 | ], | ||
| 143 | // other fields... | ||
| 144 | } | ||
| 145 | ``` | ||
| 146 | 129 | ||
| 147 | ## Status | 130 | ## Status |
| 148 | 131 | ||
| @@ -150,7 +150,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos | |||
| 150 | | `1311` | Live Chat Message | [53](53.md) | | 150 | | `1311` | Live Chat Message | [53](53.md) | |
| 151 | | `1617` | Patches | [34](34.md) | | 151 | | `1617` | Patches | [34](34.md) | |
| 152 | | `1621` | Issues | [34](34.md) | | 152 | | `1621` | Issues | [34](34.md) | |
| 153 | | `1622` | Replies | [34](34.md) | | 153 | | `1622` | Git Replies (deprecated) | [34](34.md) | |
| 154 | | `1630`-`1633` | Status | [34](34.md) | | 154 | | `1630`-`1633` | Status | [34](34.md) | |
| 155 | | `1971` | Problem Tracker | [nostrocket][nostrocket] | | 155 | | `1971` | Problem Tracker | [nostrocket][nostrocket] | |
| 156 | | `1984` | Reporting | [56](56.md) | | 156 | | `1984` | Reporting | [56](56.md) | |