# HG changeset patch # User Mark Doliner # Date 1120940210 0 # Node ID 12f029b899565cf460cdadeefd8a28a5e354dafb # Parent 9f526e2e511e9c78608c0ffa885626225ddb2577 [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 diff -r 9f526e2e511e -r 12f029b89956 src/protocols/yahoo/yahoo.c --- 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);