Server now requests unknown avatar files from client and stores them in the cache dir. Error handling is still missing. Clients not yet request avatar files from the server, this is the next step.
AvatarManager is now thread safe. Default and cached avatars are handled in different lists to prevent deleting the default avatars when clearing the cache.
This commit is contained in:
@@ -88,6 +88,12 @@ MD5Buf::FromString(const std::string &text)
|
||||
return retVal;
|
||||
}
|
||||
|
||||
bool
|
||||
MD5Buf::IsZero() const
|
||||
{
|
||||
return *this == MD5Buf();
|
||||
}
|
||||
|
||||
bool
|
||||
MD5Buf::operator==(const MD5Buf &other) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user