summaryrefslogtreecommitdiff
path: root/protocols/Tlen
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/Tlen
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/Tlen')
-rw-r--r--protocols/Tlen/src/tlen_svc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp
index 7ee18ce37c..4fcd953033 100644
--- a/protocols/Tlen/src/tlen_svc.cpp
+++ b/protocols/Tlen/src/tlen_svc.cpp
@@ -688,7 +688,7 @@ INT_PTR TlenProtocol::GetAvatarInfo(WPARAM wParam, LPARAM lParam)
if ((avatarHash == NULL || avatarHash[0] == '\0') && !downloadingAvatar)
return GAIR_NOAVATAR;
-
+
if (avatarHash != NULL && !downloadingAvatar) {
TlenGetAvatarFileName(this, item, AI->filename, sizeof(AI->filename));
AI->format = ( AI->hContact == NULL ) ? threadData->avatarFormat : item->avatarFormat;
@@ -1156,8 +1156,8 @@ INT_PTR TlenProtocol::GetAvatarCaps(WPARAM wParam, LPARAM lParam)
return 1;
case AF_MAXFILESIZE:
return 10 * 1024;
- case AF_DELAYAFTERFAIL:
- return 0;
+ case AF_FETCHIFCONTACTOFFLINE:
+ return 1;
}
return 0;
}