diff options
-rw-r--r-- | protocols/Tox/src/tox_avatars.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp index fada4ad92c..a819f1bd3f 100644 --- a/protocols/Tox/src/tox_avatars.cpp +++ b/protocols/Tox/src/tox_avatars.cpp @@ -112,6 +112,11 @@ INT_PTR CToxProto::GetAvatarCaps(WPARAM wParam, LPARAM lParam) case AF_FORMATSUPPORTED:
return lParam == PA_FORMAT_PNG;
+ case AF_MAXSIZE:
+ ((POINT*)lParam)->x = 300;
+ ((POINT*)lParam)->y = 300;
+ return 0;
+
case AF_MAXFILESIZE:
return TOX_MAX_AVATAR_SIZE;
}
|