Update Emoji Data to v13.1 (#2958)

Co-authored-by: zneix <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix 2021-07-11 11:51:04 +02:00 committed by GitHub
parent d5add46730
commit b37c0cb177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -5,6 +5,7 @@
- Minor: Username in channel points rewards redemption messages is now clickable. (#2673, #2953)
- Minor: Channel name in `<channel> has gone offline. Exiting host mode.` messages is now clickable. (#2922)
- Minor: Added `/openurl` command. Usage: `/openurl <URL>`. Opens the provided URL in the browser. (#2461, #2926)
- Minor: Updated to Emoji v13.1 (#2958)
- Bugfix: Now deleting cache files that weren't modified in the past 14 days. (#2947)
- Bugfix: Fixed large timeout durations in moderation buttons overlapping with usernames or other buttons. (#2865, #2921)
- Bugfix: Middle mouse click no longer scrolls in not fully populated usercards and splits. (#2933)

File diff suppressed because one or more lines are too long

View file

@ -24,7 +24,7 @@ namespace {
const rapidjson::Value &unparsedEmoji,
QString shortCode = QString())
{
std::array<uint32_t, 7> unicodeBytes;
std::array<uint32_t, 9> unicodeBytes;
struct {
bool apple;
@ -137,7 +137,7 @@ void Emojis::load()
void Emojis::loadEmojis()
{
// Current version: https://github.com/iamcal/emoji-data/blob/v6.0.0/emoji.json (Emoji version 13 (2020))
// Current version: https://github.com/iamcal/emoji-data/blob/v7.0.2/emoji.json (Emoji version 13.1 (2021))
QFile file(":/emoji.json");
file.open(QFile::ReadOnly);
QTextStream s1(&file);