Open jaller94 opened 3 years ago
I wonder what the name is. :mage:
is valid on slack
So trying this on Slack, they only offer female_mage and male_mage as actual names. Clicking :mage: on slack will give you female mage.
node-emoji
wasn't able to translate it an send the Unicode 🧙
Point being, it may fail and we may want to have a fallback. (I wanted to file this without working on it right away.)
Well, the best thing we can do is either ignore invalid reactions, or send a reply to the message showing the reaction.
Not to distract from the "There are some unsupported strings that we should better represent in Slack", but just to clarify why mage doesn't work:
The library node-emoji
does not translate 🧙 to :mage:
because Slack doesn't have gender-neutral reactions.
Instead, looking at the inverse mapping (S->M), both :mage:
and :female_mage:
translate to 🧙♀ (female mage).
https://github.com/omnidan/node-emoji/blob/master/lib/emoji.json
Describe the bug Some reactions are not supported by Slack and silently fail to bridge.
To Reproduce Steps to reproduce the behavior:
Expected behavior This gets somehow bridged to Slack.
Screenshots
Matrix
Slack
Additional context