Commit 13da4a8
committed
Add Kind 117 (Blossom file metadata) to core kinds
Kind 117 events are required for Blossom file uploads to work properly.
Without this kind in the relay's whitelist, users cannot upload files
such as relay icons, as the Kind 117 metadata events would be rejected.
Changes:
- Added kind117 to CORE_KINDS array (cannot be removed by users)
- Added Kind 117 to noteOptions with description 'Blossom File Metadata'
- Ensures file upload functionality works out of the box1 parent 7bf2e9a commit 13da4a8
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments