upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/01.md
diff options
context:
space:
mode:
authorpablof7z <pfer@me.com>2023-03-16 15:49:14 +0100
committerfiatjaf_ <fiatjaf@gmail.com>2023-03-16 13:46:08 -0300
commit88009bea8509d004672551be7346a03c373491d0 (patch)
tree4e81509303b9f307515ca718ea0ceccf6c9dbb62 /01.md
parent4bb393735ea501f0bac3e2cb255ae9a3caab6a68 (diff)
add NOTICE optional subscription_id
Diffstat (limited to '01.md')
-rw-r--r--01.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/01.md b/01.md
index 0e68de5..eead966 100644
--- a/01.md
+++ b/01.md
@@ -89,7 +89,7 @@ The `limit` property of a filter is only valid for the initial query and can be
89Relays can send 2 types of messages, which must also be JSON arrays, according to the following patterns: 89Relays 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
94This NIP defines no rules for how `NOTICE` messages should be sent or treated. 94This NIP defines no rules for how `NOTICE` messages should be sent or treated.
95 95