changeset 11078:12f029b89956

[gaim-migrate @ 13088] sf patch #1232875, from Sadrul H C This one-line patch allows to login as invisible if you select `Invisible' from the status-selector. It will probably login in other states (like Busy, On Phone etc) if selected (if available in the dropdown). It does not login in the `Away state with a message' status though. I don't know how to do that, or if that can be done. Also, I don't think this works quite yet, I think there are still a few changes in the core that need to be made. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 09 Jul 2005 20:16:50 +0000
parents 9f526e2e511e
children b2ace57224e2
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Jul 09 20:07:25 2005 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sat Jul 09 20:16:50 2005 +0000
@@ -2149,7 +2149,7 @@
 	yd = gc->proto_data;
 	yd->fd = source;
 
-	pkt = yahoo_packet_new(YAHOO_SERVICE_AUTH, YAHOO_STATUS_AVAILABLE, 0);
+	pkt = yahoo_packet_new(YAHOO_SERVICE_AUTH, yd->current_status, 0);
 
 	yahoo_packet_hash_str(pkt, 1, gaim_normalize(gc->account, gaim_account_get_username(gaim_connection_get_account(gc))));
 	yahoo_packet_send_and_free(pkt, yd);