mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-03 19:03:10 -05:00
dont rely on metastruct g1 to get the twemojis lookup table
This commit is contained in:
parent
3ba60ffdcf
commit
de9c17a442
BIN
external_data/twemojis.txt.lzma
Normal file
BIN
external_data/twemojis.txt.lzma
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user