summaryrefslogtreecommitdiff
path: root/protocols/Skype/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-23 20:29:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-23 20:29:14 +0000
commitb9eed106e74a7725f57b8175bc580a1520e1fe24 (patch)
tree916b5aab16e50ad2a968d0b5145fc9c3447a57f1 /protocols/Skype/src
parent77ece3939612fb0133d20815883e4ed50a10230e (diff)
patch for avatars reading optimization (by wsx22)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7843 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src')
-rw-r--r--protocols/Skype/src/skype_avatars.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_avatars.cpp b/protocols/Skype/src/skype_avatars.cpp
index 9ca9b0dddd..a42bd24dc3 100644
--- a/protocols/Skype/src/skype_avatars.cpp
+++ b/protocols/Skype/src/skype_avatars.cpp
@@ -98,7 +98,8 @@ INT_PTR __cdecl CSkypeProto::GetAvatarCaps(WPARAM wParam, LPARAM lParam)
// do not request avatar again if server gave an error
return 1;// * 60 * 60 * 1000; // one hour
- case AF_FETCHALWAYS:
+ case AF_FETCHIFPROTONOTVISIBLE:
+ case AF_FETCHIFCONTACTOFFLINE:
// avatars can be fetched all the time (server only operation)
return 1;
}