# HG changeset patch # User Mark Doliner # Date 1162883081 0 # Node ID 57dcc53e77a46831120671ee6b4719342feb9ab4 # Parent 478e64cf96fedf85c4d96215f5e88bfc92aa9105 [gaim-migrate @ 17693] Make sure we send the "starting to edit your buddylist" snac. I thought this would make it so we wouldn't need to re-request authorization when moving someone between groups, but it doesn't. I don't know what the deal is with that. committer: Tailor Script diff -r 478e64cf96fe -r 57dcc53e77a4 libgaim/protocols/oscar/family_feedbag.c --- a/libgaim/protocols/oscar/family_feedbag.c Tue Nov 07 05:52:41 2006 +0000 +++ b/libgaim/protocols/oscar/family_feedbag.c Tue Nov 07 07:04:41 2006 +0000 @@ -565,9 +565,18 @@ /* We're out of stuff to do, so tell the AIM servers we're done and exit */ if (!od->ssi.pending) { aim_ssi_modend(od); + od->ssi.in_transaction = FALSE; return 0; } + /* If this is the first in a series of add/mod/del + * requests then send the "begin transaction" message. */ + if (!od->ssi.in_transaction) + { + aim_ssi_modbegin(od); + od->ssi.in_transaction = TRUE; + } + /* Make sure we don't send anything else between now * and when we receive the ack for the following operation */ od->ssi.waiting_for_ack = TRUE; diff -r 478e64cf96fe -r 57dcc53e77a4 libgaim/protocols/oscar/oscar.h --- a/libgaim/protocols/oscar/oscar.h Tue Nov 07 05:52:41 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.h Tue Nov 07 07:04:41 2006 +0000 @@ -490,6 +490,7 @@ struct aim_ssi_tmp *pending; time_t timestamp; gboolean waiting_for_ack; + gboolean in_transaction; } ssi; /* TODO: Implement this as a HashTable for HUGE speed improvement! */