diff options
| -rw-r--r-- | 01.md | 2 | ||||
| -rw-r--r-- | 50.md | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -116,7 +116,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th | |||
| 116 | * `["REQ", <subscription_id>, <filters1>, <filters2>, ...]`, used to request events and subscribe to new updates. | 116 | * `["REQ", <subscription_id>, <filters1>, <filters2>, ...]`, used to request events and subscribe to new updates. |
| 117 | * `["CLOSE", <subscription_id>]`, used to stop previous subscriptions. | 117 | * `["CLOSE", <subscription_id>]`, used to stop previous subscriptions. |
| 118 | 118 | ||
| 119 | `<subscription_id>` is an arbitrary, non-empty string of max length 64 chars. It represents a subscription per connection. Relays MUST manage `<subscription_id>`s independently for each WebSocket connection. `<subscription_id>`s are not guarantueed to be globally unique. | 119 | `<subscription_id>` is an arbitrary, non-empty string of max length 64 chars. It represents a subscription per connection. Relays MUST manage `<subscription_id>`s independently for each WebSocket connection. `<subscription_id>`s are not guaranteed to be globally unique. |
| 120 | 120 | ||
| 121 | `<filtersX>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes: | 121 | `<filtersX>` is a JSON object that determines what events will be sent in that subscription, it can have the following attributes: |
| 122 | 122 | ||
| @@ -41,7 +41,7 @@ implementation details between relays. | |||
| 41 | Clients MAY verify that events returned by a relay match the specified query in a way that suits the | 41 | Clients MAY verify that events returned by a relay match the specified query in a way that suits the |
| 42 | client's use case, and MAY stop querying relays that have low precision. | 42 | client's use case, and MAY stop querying relays that have low precision. |
| 43 | 43 | ||
| 44 | Relays SHOULD exclude spam from search results by default if they supports some form of spam filtering. | 44 | Relays SHOULD exclude spam from search results by default if they support some form of spam filtering. |
| 45 | 45 | ||
| 46 | ## Extensions | 46 | ## Extensions |
| 47 | 47 | ||