洪 民憙 (Hong Minhee) on Nostr: Another annoying thing about the current custom emoji spec in the fediverse: the type ...
Another annoying thing about the current custom emoji spec in the fediverse: the type is just called Emoji instead of CustomEmoji. Such a small detail, but it creates unnecessary ambiguity between Unicode emojis and custom ones. I ran into this while implementing BotKit and had type name collisions with Emoji—had to use awkward namespacing to work around it. These little inconsistencies make implementation more tedious than it needs to be.
Published at
2025-04-20 08:46:26Event JSON
{
"id": "1337fa8429c22dd93e969cfcda2872b9527896b53ec56f11493f9977a9243400",
"pubkey": "08a49d97e4d922d98cc8572ca8f99f62f394f6f9efa150ae4261e6ae979d18cc",
"created_at": 1745138786,
"kind": 1,
"tags": [
[
"e",
"4be6f4a39c165c25ef14a2054de505806a6b16f2888153681445d2001b344ffa",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://hollo.social/@hongminhee/01965260-a04d-7fe3-bf9d-080d3e9658fe",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "Another annoying thing about the current custom emoji spec in the fediverse: the type is just called Emoji instead of CustomEmoji. Such a small detail, but it creates unnecessary ambiguity between Unicode emojis and custom ones. I ran into this while implementing BotKit and had type name collisions with Emoji—had to use awkward namespacing to work around it. These little inconsistencies make implementation more tedious than it needs to be.\n",
"sig": "e602c6a0ba0a49232b4ba4fdde8c75388a85e55bebdb8ee6725cedd53321b570d990d5a390cf70a76a84d94fb7987d85f4e5741051d1f36fc7d2616c21b41541"
}