Merge pull request 'I'm a tard' (#4) from more-emoji-formats into master
Reviewed-on: #4
This commit is contained in:
commit
e4ba5093d0
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user