summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/core.cpp
diff options
context:
space:
mode:
authorSzymon Tokarz <wsx22@o2.pl>2013-01-16 00:30:40 +0000
committerSzymon Tokarz <wsx22@o2.pl>2013-01-16 00:30:40 +0000
commit78f816ea826eee970c84fd1f9c43d8d3445540a8 (patch)
tree4b7a88e5bb0c6f768bd4624e28b52ccae918b5e9 /protocols/Gadu-Gadu/src/core.cpp
parentbb8ab1271bfc9a1559e3357e9aa781a0f795ae6f (diff)
Gadu-Gadu protocol
- avatar related code cleanup and fixes - workaround for avs issue (when custom defined protected avatar could be not show if contact has no protocol avatar) git-svn-id: http://svn.miranda-ng.org/main/trunk@3117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/core.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp
index cb31486925..dd73329a0a 100644
--- a/protocols/Gadu-Gadu/src/core.cpp
+++ b/protocols/Gadu-Gadu/src/core.cpp
@@ -593,7 +593,7 @@ retry:
e->event.notify60[i].time, e->event.notify60[i].remote_ip, e->event.notify60[i].remote_port,
e->event.notify60[i].version);
mir_free(descrT);
- requestAvatar(getcontact(e->event.notify60[i].uin, 0, 0, NULL), 0);
+ requestAvatarInfo(getcontact(e->event.notify60[i].uin, 0, 0, NULL), 0);
}
break;
}
@@ -804,7 +804,7 @@ retry:
mir_free(descrT);
if (oldstatus == ID_STATUS_OFFLINE && db_get_w(hContact, m_szModuleName, GG_KEY_STATUS, (WORD)ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE)
- requestAvatar(hContact, 0);
+ requestAvatarInfo(hContact, 0);
}
break;
@@ -1197,7 +1197,7 @@ retry:
// Avatar change notify
if (type != NULL && !strcmp(type, "28")) {
netlog("mainthread() (%x): Client %s changed his avatar.", this, sender);
- requestAvatar(getcontact(atoi(sender), 0, 0, NULL), 0);
+ requestAvatarInfo(getcontact(atoi(sender), 0, 0, NULL), 0);
}
mir_free(type);
mir_free(sender);