There's a similar problem with draft events. I would say this problem is not about ephemeral events specifically.
The main issue is I don't think I can block ephemeral events with strfry's write policies, but I could be wrong. I might need to update strfry. Draft spam is at least handled by rate limiting?
It's just a kind range, so you should be able to block it. Rate limiting should work the same.
I'm not sure it would fall into the write policy because the event is not persisted
maybe I'm wrong. will test...
I think it will work, but strfry is still forced to parse and process each message to some extent before it can reach the policy filter.
I may need to finish proxy mode in noteguard: https://github.com/damus-io/noteguard/issues/9 then I can do more advanced stuff like this... 🤔
Draft spam on every single character or keystroke seems a bit much.