| 940 } |
940 } |
| 941 gaim_notify_info(gc, NULL, _("Add buddy rejected"), buf->str); |
941 gaim_notify_info(gc, NULL, _("Add buddy rejected"), buf->str); |
| 942 g_string_free(buf, TRUE); |
942 g_string_free(buf, TRUE); |
| 943 g_hash_table_remove(yd->friends, who); |
943 g_hash_table_remove(yd->friends, who); |
| 944 gaim_prpl_got_user_status(gaim_connection_get_account(gc), who, "offline", NULL); /* FIXME: make this set not on list status instead */ |
944 gaim_prpl_got_user_status(gaim_connection_get_account(gc), who, "offline", NULL); /* FIXME: make this set not on list status instead */ |
| |
945 /* TODO: Shouldn't we remove the buddy from our local list? */ |
| 945 } |
946 } |
| 946 } |
947 } |
| 947 |
948 |
| 948 static void yahoo_process_contact(GaimConnection *gc, struct yahoo_packet *pkt) |
949 static void yahoo_process_contact(GaimConnection *gc, struct yahoo_packet *pkt) |
| 949 { |
950 { |