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.
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.
quoting nevent1q…8c4kAm 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.