upleb.uk

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

summaryrefslogtreecommitdiff
path: root/17.md
diff options
context:
space:
mode:
Diffstat (limited to '17.md')
-rw-r--r--17.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/17.md b/17.md
index 3ccdc77..6e44b0d 100644
--- a/17.md
+++ b/17.md
@@ -80,6 +80,7 @@ Kind `15` is used for sending encrypted file event messages:
80- `ox` containing the SHA-256 hexencoded string of the file before encryption. 80- `ox` containing the SHA-256 hexencoded string of the file before encryption.
81- `size` (optional) size of the encrypted file in bytes 81- `size` (optional) size of the encrypted file in bytes
82- `dim` (optional) size in pixels in the form `<width>x<height>` 82- `dim` (optional) size in pixels in the form `<width>x<height>`
83- `thumbhash`(optional) the [thumbhash](https://evanw.github.io/thumbhash/) to show while the client is loading the file
83- `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file 84- `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file
84- `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce) 85- `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce)
85- `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce) 86- `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce)