4 ms·
>A Open Heart message should contain of a single emoji sequence
by _Algernon_ 2y ago
>A Open Heart message should contain of a single emoji sequence
- LordDragonfang 2y agoA single emoji is a sequence (of bytes)
- _Algernon_ 2y ago"<thing> sequence" is generally taken as a sequence of <thing>. There is a certain ambiguity there.
- bbor 2y agoIt's just one :) https://github.com/dddddddddzzzz/open-heart-element/blob/main/src/index.ts#L34-L45 https://github.com/dddddddddzzzz/open-heart-element/blob/mai...
- triyambakam 2y agoSo the API rejects a lot of valid emojis from my reading of that
- isitnow 2y agoMay want to have a look at the linked count again “BBOR”: https://api.oh.dddddddddzzzz.org/github.com/dddddddddzzzz/OpenHeart https://api.oh.dddddddddzzzz.org/github.com/dddddddddzzzz/Op... https://emojipedia.org/zero-width-joiner https://emojipedia.org/zero-width-joiner
- LordDragonfang 2y agoHuh. ZWJ is an interesting corner case. Technically it's supposed to be used when combining emoji sequences that compose another single emoji (flags, skin color, gender, etc), but if the server doesn't discriminate for "real" emoji combos it technically can be an arbitrary combo.
- Kwpolska 2y agoThis probably refers to emojis made out of multiple codepoints (e.g. skin color + person, or flags which are built out of the country code in a special range).