changeset 9293:d92ee4b0e44b

[gaim-migrate @ 10096] Update gevolution to work with the new, very cool API changes to serv_add_buddy and stuff. Yay for passing buddies! Less work for my prpl struct rewrite. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 15 Jun 2004 07:55:22 +0000
parents 750d9b56a465
children 01dee77a079d
files plugins/gevolution/gevo-util.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/gevolution/gevo-util.c	Tue Jun 15 06:16:23 2004 +0000
+++ b/plugins/gevolution/gevo-util.c	Tue Jun 15 07:55:22 2004 +0000
@@ -44,14 +44,12 @@
 
 	buddy = gaim_buddy_new(account, screenname, alias);
 	gaim_blist_add_buddy(buddy, NULL, group, NULL);
-	serv_add_buddy(gaim_account_get_connection(account), screenname, group);
+	serv_add_buddy(gaim_account_get_connection(account), buddy);
 
 	if (conv != NULL)
 	{
 		gaim_buddy_icon_update(gaim_conv_im_get_icon(GAIM_CONV_IM(conv)));
 		gaim_conversation_update(conv, GAIM_CONV_UPDATE_ADD);
-
-		gaim_blist_save();
 	}
 }