From 76b35b9c82df61878952ebe8ccba0f84fd14e1e0 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sat, 8 Jul 2023 14:01:32 -0400 Subject: [PATCH] change 'download' from boolean to string --- 94.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/94.md b/94.md index 17fe690d..c8c21c47 100644 --- a/94.md +++ b/94.md @@ -21,7 +21,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr * `magnet` (optional) URI to magnet file * `i` (optional) torrent infohash * `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client -* `download` (optional) expresses that this file is intended to be presented as a download link, rather than played inline. Client's may choose to ignore this. +* `download` (optional) expresses that this file is intended to be presented as a download link, rather than played inline. Client's may choose to ignore this. Use "1" for true, "0" for false. ```json { @@ -39,7 +39,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr ["magnet", ], ["i",], ["blurhash", ], - ["download", ] + ["download", ] ], "content": , "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>