summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-24 19:53:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-24 19:53:50 +0300
commit7ed195f3bfe7512511abe502b4eeb447281ac3c5 (patch)
treefae229cbd6dbbde118141d62ad3b5c5d3a190b48 /protocols/FacebookRM/src
parent7f5b936071e3a02fee7f7156157f2d0f776bb395 (diff)
minor code cleaning
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r--protocols/FacebookRM/src/avatars.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/protocols/FacebookRM/src/avatars.cpp b/protocols/FacebookRM/src/avatars.cpp
index 25163a3797..fd3ef35a0d 100644
--- a/protocols/FacebookRM/src/avatars.cpp
+++ b/protocols/FacebookRM/src/avatars.cpp
@@ -137,14 +137,6 @@ INT_PTR FacebookProto::GetAvatarCaps(WPARAM wParam, LPARAM lParam)
((POINT*)lParam)->y = -1;
break;
- case AF_MAXFILESIZE:
- res = 0;
- break;
-
- case AF_PROPORTION:
- res = PIP_NONE;
- break;
-
case AF_FORMATSUPPORTED:
res = (lParam == PA_FORMAT_JPEG || lParam == PA_FORMAT_GIF);
break;
@@ -153,11 +145,6 @@ INT_PTR FacebookProto::GetAvatarCaps(WPARAM wParam, LPARAM lParam)
res = 10 * 60 * 1000;
break;
- case AF_DONTNEEDDELAYS:
- // We need delays because of larger friend lists
- res = 0;
- break;
-
case AF_ENABLED:
case AF_FETCHIFPROTONOTVISIBLE:
case AF_FETCHIFCONTACTOFFLINE: