# HG changeset patch # User Tim Ringenbach # Date 1156299660 0 # Node ID b8697618399a2b16cb636d3232b6ae13515c73a2 # Parent ea5193c23171096ac4a4bea960ddf9b31fd51534 [gaim-migrate @ 16990] oops, that was stupid. I blame the juicey goodness. Now that we actually properly set the protocol, it seems to work. I can send and receive messages back and forth between gaim on yahoo and windows live messenger. Messages I send seem to end up with 's in them. Status updates also seem to work to some degree committer: Tailor Script diff -r ea5193c23171 -r b8697618399a libgaim/protocols/yahoo/yahoo.c --- a/libgaim/protocols/yahoo/yahoo.c Wed Aug 23 01:35:44 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo.c Wed Aug 23 02:21:00 2006 +0000 @@ -477,17 +477,16 @@ GHashTable *ht; char *grp = NULL; char *norm_bud = NULL; + YahooFriend *f = NULL; /* It's your friends. They're going to want you to share your StarBursts. */ + /* But what if you had no friends? */ + GaimBuddy *b; + GaimGroup *g; + ht = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, (GDestroyNotify) g_slist_free); while (l) { struct yahoo_pair *pair = l->data; - YahooFriend *f = NULL; /* It's your friends. They're going to want you to share your StarBursts. */ - /* But what if you had no friends? */ - GaimBuddy *b; - GaimGroup *g; - - l = l->next; switch (pair->key) { @@ -514,8 +513,10 @@ break; case 241: /* another protocol user */ - if (f) + if (f) { f->protocol = strtol(pair->value, NULL, 10); + gaim_debug_info("yahoo", "Setting protocol to %d\n", f->protocol); + } break; /* case 242: */ /* this seems related to 241 */ /* break; */