diff options
| author | pablof7z <pfer@me.com> | 2023-03-16 15:49:14 +0100 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2023-03-16 13:46:08 -0300 |
| commit | 88009bea8509d004672551be7346a03c373491d0 (patch) | |
| tree | 4e81509303b9f307515ca718ea0ceccf6c9dbb62 /01.md | |
| parent | 4bb393735ea501f0bac3e2cb255ae9a3caab6a68 (diff) | |
add NOTICE optional subscription_id
Diffstat (limited to '01.md')
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -89,7 +89,7 @@ The `limit` property of a filter is only valid for the initial query and can be | |||
| 89 | Relays can send 2 types of messages, which must also be JSON arrays, according to the following patterns: | 89 | Relays can send 2 types of messages, which must also be JSON arrays, according to the following patterns: |
| 90 | 90 | ||
| 91 | * `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients. | 91 | * `["EVENT", <subscription_id>, <event JSON as defined above>]`, used to send events requested by clients. |
| 92 | * `["NOTICE", <message>]`, used to send human-readable error messages or other things to clients. | 92 | * `["NOTICE", <message>, <subscription_id>]`, used to send human-readable error messages or other things to clients. Relays might optionally send a `subscription_id` this notice was caused by. |
| 93 | 93 | ||
| 94 | This NIP defines no rules for how `NOTICE` messages should be sent or treated. | 94 | This NIP defines no rules for how `NOTICE` messages should be sent or treated. |
| 95 | 95 | ||