comparison src/protocols/oscar/oscar.c @ 2789:e8a2f3b92348

[gaim-migrate @ 2802] I don't think anyone is being pleased with the way it is now. So I'll put in this fix. Maybe this will make more people happy. That comment pissed me off so much. I'll put it back to the way it was originally tomorrow when I get home. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 24 Nov 2001 19:15:32 +0000
parents a0fd8f91e294
children 8f6365332a05
comparison
equal deleted inserted replaced
2788:3bf63f1882c8 2789:e8a2f3b92348
1605 away_subs(prof, gc->username) 1605 away_subs(prof, gc->username)
1606 : 1606 :
1607 away ? 1607 away ?
1608 _("<i>User has no away message</i>") : 1608 _("<i>User has no away message</i>") :
1609 _("<i>No Information Provided</i>"), 1609 _("<i>No Information Provided</i>"),
1610 away ? legend : NULL, 1610 legend,
1611 NULL); 1611 NULL);
1612 1612
1613 return 1; 1613 return 1;
1614 } 1614 }
1615 1615
2267 aim_icq_getsimpleinfo(odata->sess, name); 2267 aim_icq_getsimpleinfo(odata->sess, name);
2268 else 2268 else
2269 aim_getinfo(odata->sess, odata->conn, name, AIM_GETINFO_GENERALINFO); 2269 aim_getinfo(odata->sess, odata->conn, name, AIM_GETINFO_GENERALINFO);
2270 } 2270 }
2271 2271
2272 /*
2272 static void oscar_get_away_msg(struct gaim_connection *g, char *name) { 2273 static void oscar_get_away_msg(struct gaim_connection *g, char *name) {
2273 struct oscar_data *odata = (struct oscar_data *)g->proto_data; 2274 struct oscar_data *odata = (struct oscar_data *)g->proto_data;
2274 if (!odata->icq) 2275 if (!odata->icq)
2275 aim_getinfo(odata->sess, odata->conn, name, AIM_GETINFO_AWAYMESSAGE); 2276 aim_getinfo(odata->sess, odata->conn, name, AIM_GETINFO_AWAYMESSAGE);
2276 } 2277 }
2278 */
2277 2279
2278 static void oscar_set_dir(struct gaim_connection *g, char *first, char *middle, char *last, 2280 static void oscar_set_dir(struct gaim_connection *g, char *first, char *middle, char *last,
2279 char *maiden, char *city, char *state, char *country, int web) { 2281 char *maiden, char *city, char *state, char *country, int web) {
2280 /* FIXME : some of these things are wrong, but i'm lazy */ 2282 /* FIXME : some of these things are wrong, but i'm lazy */
2281 struct oscar_data *odata = (struct oscar_data *)g->proto_data; 2283 struct oscar_data *odata = (struct oscar_data *)g->proto_data;
2911 ret->close = oscar_close; 2913 ret->close = oscar_close;
2912 ret->send_im = oscar_send_im; 2914 ret->send_im = oscar_send_im;
2913 ret->set_info = oscar_set_info; 2915 ret->set_info = oscar_set_info;
2914 ret->get_info = oscar_get_info; 2916 ret->get_info = oscar_get_info;
2915 ret->set_away = oscar_set_away; 2917 ret->set_away = oscar_set_away;
2916 ret->get_away = oscar_get_away_msg; 2918 ret->get_away = NULL;
2917 ret->set_dir = oscar_set_dir; 2919 ret->set_dir = oscar_set_dir;
2918 ret->get_dir = NULL; /* Oscar really doesn't have this */ 2920 ret->get_dir = NULL; /* Oscar really doesn't have this */
2919 ret->dir_search = oscar_dir_search; 2921 ret->dir_search = oscar_dir_search;
2920 ret->set_idle = oscar_set_idle; 2922 ret->set_idle = oscar_set_idle;
2921 ret->change_passwd = oscar_change_passwd; 2923 ret->change_passwd = oscar_change_passwd;