pidgin: 37aa00d0: Fixes #10224
sulabh at soc.pidgin.im
sulabh at soc.pidgin.im
Mon Sep 7 14:36:42 EDT 2009
-----------------------------------------------------------------
Revision: 37aa00d044431100d37466517568640cb082680c
Ancestor: d483c0417907450a63d5a5a78cd893109a3bbd48
Author: sulabh at soc.pidgin.im
Date: 2009-09-07T18:28:28
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/37aa00d044431100d37466517568640cb082680c
Modified files:
libpurple/protocols/yahoo/libymsg.c
ChangeLog:
Fixes #10224
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c 2e325ac513bc39fb2cb3964c664edcef344c7f14
+++ libpurple/protocols/yahoo/libymsg.c 87ad7ef7612ac888772e8afa7bcb20743f1b3d9c
@@ -4500,6 +4500,12 @@ void yahoo_set_status(PurpleAccount *acc
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);
More information about the Commits
mailing list