Mercurial > pidgin
comparison src/dialogs.c @ 6787:faa491042c66
[gaim-migrate @ 7326]
the add_buddy prpl op now takes a group. It's horribly inconsistent with
the rest. This stuff all needs to be updated. Maybe I'll replace it in
0.70cvs.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sun, 07 Sep 2003 23:47:00 +0000 |
| parents | 362e60e7c265 |
| children | 8ab95f4c9800 |
comparison
equal
deleted
inserted
replaced
| 6786:8efafdc38718 | 6787:faa491042c66 |
|---|---|
| 847 g = gaim_group_new(grp); | 847 g = gaim_group_new(grp); |
| 848 gaim_blist_add_group(g, NULL); | 848 gaim_blist_add_group(g, NULL); |
| 849 } | 849 } |
| 850 b = gaim_buddy_new(a->gc->account, who, whoalias); | 850 b = gaim_buddy_new(a->gc->account, who, whoalias); |
| 851 gaim_blist_add_buddy(b, NULL, g, NULL); | 851 gaim_blist_add_buddy(b, NULL, g, NULL); |
| 852 serv_add_buddy(a->gc, who); | 852 serv_add_buddy(a->gc, who, g); |
| 853 | 853 |
| 854 if (c != NULL) | 854 if (c != NULL) |
| 855 gaim_conversation_update(c, GAIM_CONV_UPDATE_ADD); | 855 gaim_conversation_update(c, GAIM_CONV_UPDATE_ADD); |
| 856 | 856 |
| 857 icon_data = get_icon_data(a->gc, normalize(who), &icon_len); | 857 icon_data = get_icon_data(a->gc, normalize(who), &icon_len); |
