changeset 11653:c7aaac1fb252

[gaim-migrate @ 13937] This seems to set Yahoo! to your previous status at signon committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Oct 2005 02:21:26 +0000
parents a66ee70c614c
children bf6ba37db13b
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Thu Oct 13 01:48:03 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Thu Oct 13 02:21:26 2005 +0000
@@ -54,6 +54,7 @@
 
 static void yahoo_add_buddy(GaimConnection *gc, GaimBuddy *, GaimGroup *);
 static void yahoo_login_page_cb(void *user_data, const char *buf, size_t len);
+static void yahoo_set_status(GaimAccount *account, GaimStatus *status);
 
 static void
 yahoo_add_permit(GaimConnection *gc, const char *who)
@@ -209,6 +210,7 @@
 					yahoo_buddy_icon_upload(gc, yd->picture_upload_todo);
 					yd->picture_upload_todo = NULL;
 				}
+				yahoo_set_status(account, gaim_account_get_active_status(account));
 
 				/* this requests the list. i have a feeling that this is very evil
 				 *