mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Stop removing variation selector from quick reactions
Fixes vector-im/riot-web#13926 Signed-off-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
parent
3c73930e9a
commit
46b282142f
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ const QUICK_REACTIONS = ["👍", "👎", "😄", "🎉", "😕", "❤️", "🚀
|
||||||
if (!data) {
|
if (!data) {
|
||||||
throw new Error(`Emoji ${emoji} doesn't exist in emojibase`);
|
throw new Error(`Emoji ${emoji} doesn't exist in emojibase`);
|
||||||
}
|
}
|
||||||
// Prefer our unicode value for quick reactions as we sometimes use variation selectors.
|
return data;
|
||||||
return Object.assign({}, data, { unicode: emoji });
|
|
||||||
});
|
});
|
||||||
|
|
||||||
class QuickReactions extends React.Component {
|
class QuickReactions extends React.Component {
|
||||||
|
|
Loading…
Reference in a new issue