# HG changeset patch # User Eric Warmenhoven <eric@warmenhoven.org> # Date 977184848 0 # Node ID 38f8096975ef64a4707f5611e8b4b5058986bcc5 # Parent aa6a0fe8e03fac522a1506977a8d76837b0bddea [gaim-migrate @ 1308] aliases are remembered. committer: Tailor Script <tailor@pidgin.im> diff -r aa6a0fe8e03f -r 38f8096975ef plugins/yay/yay.c --- a/plugins/yay/yay.c Mon Dec 18 23:47:41 2000 +0000 +++ b/plugins/yay/yay.c Tue Dec 19 00:14:08 2000 +0000 @@ -87,7 +87,8 @@ struct yahoo_buddy *bud = *buddy; if (!strcasecmp(rec->id, bud->id)) - b = add_buddy(gc, bud->group, bud->id, bud->id); + if (!find_buddy(gc, bud->id)) + b = add_buddy(gc, bud->group, bud->id, bud->id); } if (!b) continue; /* ???!!! */ @@ -246,6 +247,13 @@ return; } + debug_printf("Yahoo: logged in %s\n", gc->username); + account_online(gc); + serv_finish_login(gc); + + if (bud_list_cache_exists(gc)) + do_import(NULL, gc); + if (ctxt->buddies) { struct yahoo_buddy **buddies; @@ -259,13 +267,6 @@ } } - debug_printf("Yahoo: logged in %s\n", gc->username); - account_online(gc); - serv_finish_login(gc); - - if (bud_list_cache_exists(gc)) - do_import(NULL, gc); - gc->inpa = gdk_input_add(ctxt->sockfd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, yahoo_callback, gc); }