comparison src/protocols/oscar/oscar.c @ 5631:960fe32ea9b7

[gaim-migrate @ 6038] i'm tired, so i'm committing what i've got kingant will do a better job with what i hacked into oscar to make it work ;-) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 01 Jun 2003 06:02:03 +0000
parents 4e2ffa3d9094
children 0bdfa28c678e
comparison
equal deleted inserted replaced
5630:4e2ffa3d9094 5631:960fe32ea9b7
67 #define UC_WIRELESS 0x40 67 #define UC_WIRELESS 0x40
68 68
69 #define AIMHASHDATA "http://gaim.sourceforge.net/aim_data.php3" 69 #define AIMHASHDATA "http://gaim.sourceforge.net/aim_data.php3"
70 70
71 static GaimPlugin *my_protocol = NULL; 71 static GaimPlugin *my_protocol = NULL;
72
73 /* For win32 compatability */
74 G_MODULE_IMPORT int report_idle;
75 72
76 static int caps_aim = AIM_CAPS_CHAT | AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_INTEROPERATE; 73 static int caps_aim = AIM_CAPS_CHAT | AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_INTEROPERATE;
77 static int caps_icq = AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_ICQUTF8 | AIM_CAPS_INTEROPERATE; 74 static int caps_icq = AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_ICQUTF8 | AIM_CAPS_INTEROPERATE;
78 75
79 static fu8_t features_aim[] = {0x01, 0x01, 0x01, 0x02}; 76 static fu8_t features_aim[] = {0x01, 0x01, 0x01, 0x02};
4907 aim_ssi_adddeny(sess, cur->data); 4904 aim_ssi_adddeny(sess, cur->data);
4908 } 4905 }
4909 } 4906 }
4910 /* Presence settings (idle time visibility) */ 4907 /* Presence settings (idle time visibility) */
4911 if ((tmp = aim_ssi_getpresence(sess->ssi.local)) != 0xFFFFFFFF) 4908 if ((tmp = aim_ssi_getpresence(sess->ssi.local)) != 0xFFFFFFFF)
4912 if (report_idle && !(tmp & 0x400)) 4909 if (!(tmp & 0x400))
4913 aim_ssi_setpresence(sess, tmp | 0x400); 4910 aim_ssi_setpresence(sess, tmp | 0x400);
4914 } /* end adding buddies from local list to server list */ 4911 } /* end adding buddies from local list to server list */
4915 4912
4916 /* Set our ICQ status */ 4913 /* Set our ICQ status */
4917 if (od->icq && !gc->away) { 4914 if (od->icq && !gc->away) {