# HG changeset patch # User Tim Ringenbach # Date 1156222002 0 # Node ID d559d6dcb970f7aa2309455f49bd30d518e527aa # Parent 22ad3b783bbef891e0015e5d63195d396ea1c38c [gaim-migrate @ 16970] I managed to do it wrong. Turns out I hadn't signed up for the beta, and was trying to send messages to the LCS version of my hotmail email address. What is LCS anyway? So now I think we properly support sending messages to LCS and windows live, assuming you manage to add those buddies in another client. I don't know what to do about duplicate screen names, or actually adding them. committer: Tailor Script diff -r 22ad3b783bbe -r d559d6dcb970 libgaim/protocols/yahoo/yahoo.c --- a/libgaim/protocols/yahoo/yahoo.c Tue Aug 22 03:01:52 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo.c Tue Aug 22 04:46:42 2006 +0000 @@ -513,9 +513,9 @@ yahoo_do_group_check(account, ht, norm_bud, grp); break; - case 241: /* msn user */ - if (f && *pair->value == '1') - f->msn = TRUE; + case 241: /* another protocol user */ + if (f) + f->protocol = strtol(pair->value, NULL, 10); break; /* case 242: */ /* this seems related to 241 */ /* break; */ @@ -3190,8 +3190,8 @@ msg2 = yahoo_string_encode(gc, msg, &utf8); yahoo_packet_hash(pkt, "ss", 1, gaim_connection_get_display_name(gc), 5, who); - if ((f = yahoo_friend_find(gc, who)) && f->msn) - yahoo_packet_hash_str(pkt, 241, "1"); + if ((f = yahoo_friend_find(gc, who)) && f->protocol) + yahoo_packet_hash_int(pkt, 241, f->protocol); if (utf8) yahoo_packet_hash_str(pkt, 97, "1"); diff -r 22ad3b783bbe -r d559d6dcb970 libgaim/protocols/yahoo/yahoo_friend.h --- a/libgaim/protocols/yahoo/yahoo_friend.h Tue Aug 22 03:01:52 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo_friend.h Tue Aug 22 04:46:42 2006 +0000 @@ -47,7 +47,7 @@ char *ip; gboolean bicon_sent_request; YahooPresenceVisibility presence; - gboolean msn; + int protocol; /* 1=LCS, 2=MSN*/ } YahooFriend; YahooFriend *yahoo_friend_find(GaimConnection *gc, const char *name);