code: func GetAvatar(av map[string]string, userid string, general *config.Protocol) string {
  	if sha, ok := av[userid]; ok {
  		return general.MediaServerDownload + "/" + sha + "/" + userid + ".png"
  	}
  	return ""
  }
docs: // GetAvatar constructs a URL for a given user-avatar if it is available in the cache.