Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 2308:a90be9567452
[gaim-migrate @ 2318]
talk to people
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 19 Sep 2001 05:46:18 +0000 |
parents | 0371b905baef |
children | a87ca0aa1840 |
comparison
equal
deleted
inserted
replaced
2307:64dd9e99884c | 2308:a90be9567452 |
---|---|
56 #define AIMHASHDATA "http://gaim.sourceforge.net/aim_data.php3" | 56 #define AIMHASHDATA "http://gaim.sourceforge.net/aim_data.php3" |
57 | 57 |
58 static int gaim_caps = AIM_CAPS_CHAT | | 58 static int gaim_caps = AIM_CAPS_CHAT | |
59 AIM_CAPS_BUDDYICON | | 59 AIM_CAPS_BUDDYICON | |
60 AIM_CAPS_IMIMAGE; | 60 AIM_CAPS_IMIMAGE; |
61 static fu8_t gaim_features[] = {0x01, 0x01, 0x01, 0x02, 0x66}; | 61 static fu8_t gaim_features[] = {0x01, 0x01, 0x01, 0x02}; |
62 | 62 |
63 struct oscar_data { | 63 struct oscar_data { |
64 aim_session_t *sess; | 64 aim_session_t *sess; |
65 aim_conn_t *conn; | 65 aim_conn_t *conn; |
66 | 66 |
1266 static int incomingim_chan1(aim_session_t *sess, aim_conn_t *conn, struct aim_userinfo_s *userinfo, struct aim_incomingim_ch1_args *args) { | 1266 static int incomingim_chan1(aim_session_t *sess, aim_conn_t *conn, struct aim_userinfo_s *userinfo, struct aim_incomingim_ch1_args *args) { |
1267 char *tmp = g_malloc(BUF_LONG); | 1267 char *tmp = g_malloc(BUF_LONG); |
1268 struct gaim_connection *gc = sess->aux_data; | 1268 struct gaim_connection *gc = sess->aux_data; |
1269 int flags = 0; | 1269 int flags = 0; |
1270 | 1270 |
1271 if ((sizeof(gaim_features) == args->featureslen) && !memcmp(gaim_features, args->features, args->featureslen)) | |
1272 flags |= IM_FLAG_GAIMUSER; | |
1273 | |
1274 if (args->icbmflags & AIM_IMFLAGS_AWAY) | 1271 if (args->icbmflags & AIM_IMFLAGS_AWAY) |
1275 flags |= IM_FLAG_AWAY; | 1272 flags |= IM_FLAG_AWAY; |
1276 | 1273 |
1277 if (args->icbmflags & AIM_IMFLAGS_HASICON) { | 1274 if (args->icbmflags & AIM_IMFLAGS_HASICON) { |
1278 struct oscar_data *od = gc->proto_data; | 1275 struct oscar_data *od = gc->proto_data; |