mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 04:25:06 +01:00
Bump emoji requirement to Unicode 9
This commit is contained in:
parent
c318e6e42e
commit
53b765f4b1
@ -9,7 +9,7 @@ let emoji_version = detectVersion();
|
||||
|
||||
export default function emojify(text) {
|
||||
// Browser too old to support native emoji
|
||||
if (emoji_version < 6.1) {
|
||||
if (emoji_version < 9.0) {
|
||||
return emojione.toImage(text);
|
||||
// Convert short codes into native emoji
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user