summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icqosc_svcs.cpp3
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;