mirror of https://github.com/vector-im/riot-web
Stop removing variation selector from quick reactions
Fixes vector-im/riot-web#13926 Signed-off-by: Tulir Asokan <tulir@maunium.net>pull/21833/head
parent
3c73930e9a
commit
46b282142f
|
@ -27,8 +27,7 @@ const QUICK_REACTIONS = ["👍", "👎", "😄", "🎉", "😕", "❤️", "🚀
|
|||
if (!data) {
|
||||
throw new Error(`Emoji ${emoji} doesn't exist in emojibase`);
|
||||
}
|
||||
// Prefer our unicode value for quick reactions as we sometimes use variation selectors.
|
||||
return Object.assign({}, data, { unicode: emoji });
|
||||
return data;
|
||||
});
|
||||
|
||||
class QuickReactions extends React.Component {
|
||||
|
|
Loading…
Reference in New Issue