comparison src/conversation.c @ 2334:b53cd5b63a99

[gaim-migrate @ 2347] i feel like everyone's watching me committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 21 Sep 2001 00:14:12 +0000
parents bde2481bb4db
children 2c595fc5f1f8
comparison
equal deleted inserted replaced
2333:de907b3cf529 2334:b53cd5b63a99
530 530
531 void add_callback(GtkWidget *widget, struct conversation *c) 531 void add_callback(GtkWidget *widget, struct conversation *c)
532 { 532 {
533 if (c->gc && find_buddy(c->gc, c->name) != NULL) { 533 if (c->gc && find_buddy(c->gc, c->name) != NULL) {
534 debug_printf(_("Removing '%s' from buddylist.\n"), c->name); 534 debug_printf(_("Removing '%s' from buddylist.\n"), c->name);
535 serv_remove_buddy(c->gc, c->name);
535 remove_buddy(c->gc, find_group_by_buddy(c->gc, c->name), find_buddy(c->gc, c->name)); 536 remove_buddy(c->gc, find_group_by_buddy(c->gc, c->name), find_buddy(c->gc, c->name));
537 do_export(c->gc);
536 build_edit_tree(); 538 build_edit_tree();
537 update_convo_add_button(c); 539 update_convo_add_button(c);
538 } else { 540 } else {
539 if (c->gc) 541 if (c->gc)
540 show_add_buddy(c->gc, c->name, NULL); 542 show_add_buddy(c->gc, c->name, NULL);