Yes, NIP-04 leaks metadata as it is. But since one key pair will never be reused (at least that's my intention), I thought this should still be "anonymous".
I could also create a new ephemeral key pair for the recipient side. Then I think metadata shouldn't matter.
But I could be wrong of course.
This option can be useful for one-time short chats, but not for long-term communication.
reply
Yes, I agree. That's why it's called ephemeral: new key pairs are generated every time you reload the page.
reply