What is Nostr?
Alex /
npub1q3s…d26p
2024-11-15 16:38:54
in reply to nevent1q…cf72

Alex on Nostr: The emoji situation in this codebase is chaos. I'm thinking about totally rewriting ...

The emoji situation in this codebase is chaos. I'm thinking about totally rewriting it.

If you see a variable called `emoji`, it _might_ be a string like "😂", or it _might_ be a string like "joy", or it _might_ be an object containing fields with both. Between the extended picker, the quick selector, the Pleroma API, and the settings, it's completely mixed and you have to convert them.

Am I crazy to think an emoji's canonical identifier should just be a string of itself? Why does it have to be an ascii shortcode? I swear every emoji library is crazy.
Author Public Key
npub1q3sle0kvfsehgsuexttt3ugjd8xdklxfwwkh559wxckmzddywnws6cd26p