changeset 28605:f200f7628962

merge of '37aa00d044431100d37466517568640cb082680c' and '7fb07587f5c87cbf108267d40521da8e2ec4d6fd'
author Marcus Lundblad <ml@update.uu.se>
date Mon, 07 Sep 2009 19:33:37 +0000
parents c51f00627af4 (diff) a6cfb7bf8c88 (current diff)
children b6cc239e2564
files
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c	Mon Sep 07 19:22:32 2009 +0000
+++ b/libpurple/protocols/yahoo/libymsg.c	Mon Sep 07 19:33:37 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);