Merge pull request 'I'm a tard' (#4) from more-emoji-formats into master

Reviewed-on: #4
This commit is contained in:
Your New SJW Waifu 2021-08-18 19:06:30 +02:00
commit e4ba5093d0
1 changed files with 2 additions and 2 deletions

View File

@ -139,13 +139,13 @@ func findEmotes(dir string, em common.EmotesMap) (common.EmotesMap, error) {
}
for _, file := range emoteJPGs {
gif := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
jpg := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
//common.LogDebugf("Emote JPG: %s", jpg)
em = em.Add(jpg)
}
for _, file := range emoteSVGs {
gif := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
svg := strings.ReplaceAll(common.Substr(file, runPathLength, len(file)), "\\", "/")
//common.LogDebugf("Emote SVG: %s", svg)
em = em.Add(svg)
}