1
0
mirror of https://github.com/Earu/EasyChat.git synced 2025-03-04 03:13:20 -05:00

dont rely on metastruct g1 to get the twemojis lookup table

This commit is contained in:
Earu 2021-08-01 20:47:23 +02:00
parent 3ba60ffdcf
commit de9c17a442
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -54,7 +54,7 @@ parse_emote_file = function(EMOTICONS)
start = split_end + 1
split_start, split_end = EMOTICONS:find(split_pattern, start, true)
end
cache[EMOTICONS:sub(start)] = UNCACHED
end

View File

@ -30,7 +30,7 @@ do
generate_lookup_table(data)
EasyChat.Print("Loaded twemojis lookup table from from: " .. data_path)
else
http.Fetch("http://g1.metastruct.net:20080/twemojis.txt.lzma", function(new_data, _, _, code)
http.Fetch("https://raw.githubusercontent.com/Earu/EasyChat/master/external_data/twemojis.txt.lzma", function(new_data, _, _, code)
if code ~= 200 then return end
new_data = util.Decompress(new_data)