Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/libymsg.c @ 27976:482a5edc4799
kevin_BB on irc was reporting that doing things on connect didn't work,
and this is why
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Tue, 21 Jul 2009 04:24:46 +0000 |
parents | 0ec880685f5f |
children | 05331a8eafb3 776a9b5bd50c |
comparison
equal
deleted
inserted
replaced
27710:91333c6c16ef | 27976:482a5edc4799 |
---|---|
577 | 577 |
578 g_hash_table_foreach(ht, yahoo_do_group_cleanup, NULL); | 578 g_hash_table_foreach(ht, yahoo_do_group_cleanup, NULL); |
579 | 579 |
580 /* Now that we have processed the buddy list, we can say yahoo has connected */ | 580 /* Now that we have processed the buddy list, we can say yahoo has connected */ |
581 purple_connection_set_display_name(gc, purple_normalize(account, purple_account_get_username(account))); | 581 purple_connection_set_display_name(gc, purple_normalize(account, purple_account_get_username(account))); |
582 yd->logged_in = TRUE; | |
583 purple_debug_info("yahoo","Authentication: Connection established\n"); | |
582 purple_connection_set_state(gc, PURPLE_CONNECTED); | 584 purple_connection_set_state(gc, PURPLE_CONNECTED); |
583 yd->logged_in = TRUE; | |
584 if (yd->picture_upload_todo) { | 585 if (yd->picture_upload_todo) { |
585 yahoo_buddy_icon_upload(gc, yd->picture_upload_todo); | 586 yahoo_buddy_icon_upload(gc, yd->picture_upload_todo); |
586 yd->picture_upload_todo = NULL; | 587 yd->picture_upload_todo = NULL; |
587 } | 588 } |
588 yahoo_set_status(account, purple_account_get_active_status(account)); | 589 yahoo_set_status(account, purple_account_get_active_status(account)); |
589 purple_debug_info("yahoo","Authentication: Connection established\n"); | |
590 | 590 |
591 g_hash_table_destroy(ht); | 591 g_hash_table_destroy(ht); |
592 g_free(norm_bud); | 592 g_free(norm_bud); |
593 g_free(temp); | 593 g_free(temp); |
594 } | 594 } |