if (input.event.kind == 1064 || input.event.kind == 1065) {
return {
id: input.event.id,
action: 'reject',
msg: 'I am not here to store your files.',
}
}
if (input.event.kind == 1064 || input.event.kind == 1065) {
return {
id: input.event.id,
action: 'reject',
msg: 'I am not here to store your files.',
}
}
😂
Im missing some context here.
What are these event numbers 😅 ?
These are the NIP-95 event kinds that store user uploaded media.
So if I read this correctly, a relay that supports NIP-95 stores messages that incorporate the images?
Instead of the situation now, where we refer to a url on a hosting service?
That is great news, it will probably drive the pay-per-post or pay-per-90-day-storage and similar relay option 😃
Or, as in your case, not storing or relaying then at all 🤔