Yeah, I think in practice nip 04 is usually still used, but I believe highlighter accepts nip 44. The best approach seems to be to accept both, but choosing which to publish is trickier.
There’s a clash of constantly updating specs with dozens of apps using the older versions.
Maybe it was nostr:npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn who said it: (paraphrased) do not count on spec deprecation on nostr. Therefore account for this in your app’s code.
Discussion
> // TODO how should replies to 'nip04' encrypted messages be handled?
I'll probably have to support both in my project for compatibility, but that's not ideal.
Well get support for both! And any future versions. As long as things don't get too out of hand, noscrypt's encryption API was built to handle this.
nostr:npub1qdjn8j4gwgmkj3k5un775nq6q3q7mguv5tvajstmkdsqdja2havq03fqm7 thinks big, builds solid tools, but forgets to share links. Here’s one.