diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-23 20:29:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-23 20:29:14 +0000 |
commit | b9eed106e74a7725f57b8175bc580a1520e1fe24 (patch) | |
tree | 916b5aab16e50ad2a968d0b5145fc9c3447a57f1 /protocols/IcqOscarJ | |
parent | 77ece3939612fb0133d20815883e4ed50a10230e (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/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icqosc_svcs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/icqosc_svcs.cpp b/protocols/IcqOscarJ/src/icqosc_svcs.cpp index 9c71183f02..485e41a908 100644 --- a/protocols/IcqOscarJ/src/icqosc_svcs.cpp +++ b/protocols/IcqOscarJ/src/icqosc_svcs.cpp @@ -361,7 +361,8 @@ INT_PTR CIcqProto::GetAvatarCaps(WPARAM wParam, LPARAM lParam) return 1 * 60 * 60 * 1000; // one hour
// avatars can be fetched all the time (server only operation)
- if (wParam == AF_FETCHALWAYS)
+ if (wParam == AF_FETCHIFPROTONOTVISIBLE)
+ if (wParam == AF_FETCHIFCONTACTOFFLINE)
return 1;
return 0;
|