add some icons and only store members by resource
This commit is contained in:
3
cache.go
3
cache.go
@@ -18,6 +18,9 @@ import (
|
||||
// global or app-level map/cache
|
||||
var textureCache = make(map[string]gdk.Paintabler)
|
||||
|
||||
// Invalid images, if an image/avatar cannot be loaded on the system (e.g: incompatible format) it's put here
|
||||
var invalidImages = make(map[string]bool)
|
||||
|
||||
func ensureCache() (string, error) {
|
||||
cachePath := configdir.LocalCache("lambda-im")
|
||||
err := configdir.MakePath(cachePath) // Ensure it exists.
|
||||
|
||||
Reference in New Issue
Block a user