Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 4380:fe465b7d9440
[gaim-migrate @ 4646]
This fixes the receiving of some messages from AOL8. Namely, the first
message they send to you, and any message they send you directly after
receiving a message from you (I think).
The problem is that AOL8 advertises an icon with a timestamp of 0, for
some crazy reason.
Thanks to some really really kick ass dude on AIM for helping me test
this.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 21 Jan 2003 22:07:10 +0000 |
parents | 2628346f53bd |
children | 29b67b8de743 |
comparison
equal
deleted
inserted
replaced
4379:c0bb8c760416 | 4380:fe465b7d9440 |
---|---|
1793 GError *err = NULL; | 1793 GError *err = NULL; |
1794 | 1794 |
1795 if (args->icbmflags & AIM_IMFLAGS_AWAY) | 1795 if (args->icbmflags & AIM_IMFLAGS_AWAY) |
1796 flags |= IM_FLAG_AWAY; | 1796 flags |= IM_FLAG_AWAY; |
1797 | 1797 |
1798 if (args->icbmflags & AIM_IMFLAGS_HASICON) { | 1798 if ((args->icbmflags & AIM_IMFLAGS_HASICON) && (args->iconlen) && (args->iconsum) && (args->iconstamp)) { |
1799 struct icon_req *ir = NULL; | 1799 struct icon_req *ir = NULL; |
1800 GSList *h = od->hasicons; | 1800 GSList *h = od->hasicons; |
1801 | 1801 |
1802 if (!args->iconlen || !args->iconsum || !args->iconstamp) | |
1803 return 1; | |
1804 | |
1805 debug_printf("%s has an icon\n", userinfo->sn); | 1802 debug_printf("%s has an icon\n", userinfo->sn); |
1806 while (h) { | 1803 while (h) { |
1807 ir = h->data; | 1804 ir = h->data; |
1808 if (!aim_sncmp(userinfo->sn, ir->user)) | 1805 if (!aim_sncmp(userinfo->sn, ir->user)) |
1809 break; | 1806 break; |