mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
grammar improvements.
This commit is contained in:
parent
8e8826e2a3
commit
db8c826fca
10
88.md
10
88.md
|
@ -6,7 +6,7 @@ NOTIFY Request
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional`
|
||||||
|
|
||||||
At any point, the relay can send a `NOTIFY` request to a client with a user-readable description to be displayed as is. The description SHOULD be rendered as if it was a Kind 1 post in a visible part of the application to allow the user to quickly reply if needed.
|
At any point, the relay can send a `NOTIFY` request to a client with a user-readable description to be displayed as is. The description SHOULD be rendered as if it was a Kind 1 post in a visible part of the application to allow the user to quickly see and act if needed.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
[
|
[
|
||||||
|
@ -15,9 +15,9 @@ At any point, the relay can send a `NOTIFY` request to a client with a user-read
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
Clients SHOULD expect that the same request might be sent multiple times, if the user dismisses the popup, the client SHOULD ignore following requests with the same description.
|
Clients SHOULD expect the same request to be received multiple times. If the user dismisses it, the client SHOULD ignore new requests with the same description.
|
||||||
|
|
||||||
Supporting relays SHOULD make sure the description is the same for similar requests across subscriptions and minimize the number of times this request is sent to avoid annoying users with multiple interruptions.
|
Supporting relays SHOULD keep the same description across subscriptions and minimize the number of times each request is sent to avoid annoying users with multiple interruptions.
|
||||||
|
|
||||||
## Examples of use
|
## Examples of use
|
||||||
|
|
||||||
|
@ -46,8 +46,8 @@ Relays can now progressively upgrade their user's subscriptions based on their u
|
||||||
[
|
[
|
||||||
"NOTIFY",
|
"NOTIFY",
|
||||||
"""
|
"""
|
||||||
You are out of space. \n
|
You are out of space on relay.com. \n
|
||||||
You add another GB of data storage to your account by simply paying the invoice below. \n
|
You can add another GB of data storage to your account by simply paying the invoice below. \n
|
||||||
lnbc... \n
|
lnbc... \n
|
||||||
By paying this invoice, you are accepting our terms and conditions. \n
|
By paying this invoice, you are accepting our terms and conditions. \n
|
||||||
You can read the terms and see additional subscription options on http://relay.com/plans \n
|
You can read the terms and see additional subscription options on http://relay.com/plans \n
|
||||||
|
|
Loading…
Reference in New Issue
Block a user