From: Etan R. <de...@us...> - 2005-03-17 01:54:20
|
Update of /cvsroot/gaim/gaim/src/protocols/yahoo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21073/src/protocols/yahoo Modified Files: Tag: oldstatus yahoo.c Log Message: When testing a jabber server at work I ran into a buddy list issue, and I realized that it's really not the ui's job to decide when to ask the user about adding a buddy, so I moved the logic to the prpls which will know. I've fixed jabber and oscar (since KingAnt says it's not an issue there). Someone who knows MSN and Yahoo! is going to want to make sure what I have works correctly, and may want to look into handling any cases that might not want to ask the user. Index: yahoo.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v retrieving revision 1.273.2.13 retrieving revision 1.273.2.14 diff -u -d -p -r1.273.2.13 -r1.273.2.14 --- yahoo.c 16 Mar 2005 03:13:59 -0000 1.273.2.13 +++ yahoo.c 17 Mar 2005 01:54:07 -0000 1.273.2.14 @@ -1002,7 +1002,7 @@ static void yahoo_buddy_added_us(GaimCon if (id) { if (msg) tmpmsg = yahoo_string_decode(gc, msg, FALSE); - gaim_account_notify_added(gc->account, id, who, NULL, tmpmsg); + gaim_account_notify_added(gc->account, id, who, NULL, tmpmsg, TRUE); if (tmpmsg) g_free(tmpmsg); } |