changeset 28239:c51f00627af4

Fixes #10224
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Mon, 07 Sep 2009 18:28:28 +0000
parents 60ab4bdea3c3
children 860998956a4d f200f7628962
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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);