make avatar loading a bit better

This commit is contained in:
ouwou
2020-09-12 03:17:34 -04:00
parent d6ed75c339
commit e68f8ef8f4
9 changed files with 87 additions and 15 deletions

View File

@@ -27,5 +27,5 @@ struct User {
friend void from_json(const nlohmann::json &j, User &m);
bool HasAvatar() const;
std::string GetAvatarURL(std::string ext = "png", std::string size = "64") const;
std::string GetAvatarURL(std::string ext = "png", std::string size = "32") const;
};