comparison src/protocols/oscar/ft.c @ 4002:9891c1458eb7

[gaim-migrate @ 4202] "Sorry, but in my last direct IM patch (633589), I broke receiving typing notifications. Here is the one line patch that fixes it back the way it should be. Basically, the if(flags == 0x000c) should have been if(flags & 0x000c) At the moment, receiving typing notifications is broken in gaim since this is in a block under if(flags & 0x0002) so, the == 0x000c will never be true. " -- Graham Booker (gbooker) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 26 Nov 2002 14:23:06 +0000
parents 7ba5f2e13ee8
children 858979ab3867
comparison
equal deleted inserted replaced
4001:9178da61c19f 4002:9891c1458eb7
1172 faimdprintf(sess, 2, "faim: OFT frame: handlehdr_directim: %04x / %04x / %s\n", payloadlength, flags, snptr); 1172 faimdprintf(sess, 2, "faim: OFT frame: handlehdr_directim: %04x / %04x / %s\n", payloadlength, flags, snptr);
1173 1173
1174 if (flags & 0x0002) { 1174 if (flags & 0x0002) {
1175 int ret = 0; 1175 int ret = 0;
1176 1176
1177 if (flags == 0x000c) { 1177 if (flags & 0x000c) {
1178 if ((userfunc = aim_callhandler(sess, conn, AIM_CB_FAM_OFT, AIM_CB_OFT_DIRECTIMTYPING))) 1178 if ((userfunc = aim_callhandler(sess, conn, AIM_CB_FAM_OFT, AIM_CB_OFT_DIRECTIMTYPING)))
1179 ret = userfunc(sess, &fr, snptr, 1); 1179 ret = userfunc(sess, &fr, snptr, 1);
1180 return ret; 1180 return ret;
1181 } 1181 }
1182 1182