src/protocols/oscar/oscar.c

changeset 5631
7f510b22ccf5
parent 5630
a05d97d87690
child 5638
53e752c88ea1
equal deleted inserted replaced
5630:a05d97d87690 5631:7f510b22ccf5
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) {

mercurial