Mercurial > pidgin
changeset 14300:b8697618399a
[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 </font>'s in them.
Status updates also seem to work to some degree
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Wed, 23 Aug 2006 02:21:00 +0000 |
parents | ea5193c23171 |
children | 9df5dd999402 |
files | libgaim/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- 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; */