From 993fe1b883535beff0120834d268356812327953 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 19 Oct 2023 13:07:54 +0300 Subject: [PATCH] doc: event description --- 107.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/107.md b/107.md index be21a7c..0bcac5b 100644 --- a/107.md +++ b/107.md @@ -34,7 +34,7 @@ The `device` can also push data such as sensor readings and updates. A `device` or a `user` can publish these event kinds: | Kind | | Description | NIP | |---------|------------------|---------------------------------------------------------------------------------------------------------------|-----------------------------------------| -| `4 ` | `direct_message` | Communicate between `device`(s) and `user`(s). The messages can be plain-text or JSON. | [NIP04](https://github.com/nostr-protocol/nips/blob/master/04.md) | +| `4 ` | `direct_message` | Communicate between two `devices` or between a `device` and a `user`.
The messages must be a JSON following the structure defined In this NIP. | [NIP04](https://github.com/nostr-protocol/nips/blob/master/04.md) | ### Event: Register a `device`