Mercurial > pidgin
diff libpurple/protocols/yahoo/libymsg.c @ 28239:c51f00627af4
Fixes #10224
author | Sulabh Mahajan <sulabh@soc.pidgin.im> |
---|---|
date | Mon, 07 Sep 2009 18:28:28 +0000 |
parents | b8b90d4cf2f5 |
children | 860998956a4d |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Sun Sep 06 01:46:42 2009 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Mon Sep 07 18:28:28 2009 +0000 @@ -4500,6 +4500,12 @@ if (purple_presence_is_idle(presence)) yahoo_packet_hash_str(pkt, 47, "2"); + else { + if (!purple_status_is_available(status)) + yahoo_packet_hash_str(pkt, 47, "1"); + else + yahoo_packet_hash_str(pkt, 47, "0"); + } yahoo_packet_send_and_free(pkt, yd);