From: <the...@us...> - 2006-11-07 07:05:15
|
Revision: 17693 http://svn.sourceforge.net/gaim/?rev=17693&view=rev Author: thekingant Date: 2006-11-06 23:04:41 -0800 (Mon, 06 Nov 2006) Log Message: ----------- 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. Modified Paths: -------------- trunk/libgaim/protocols/oscar/family_feedbag.c trunk/libgaim/protocols/oscar/oscar.h Modified: trunk/libgaim/protocols/oscar/family_feedbag.c =================================================================== --- trunk/libgaim/protocols/oscar/family_feedbag.c 2006-11-07 05:52:41 UTC (rev 17692) +++ trunk/libgaim/protocols/oscar/family_feedbag.c 2006-11-07 07:04:41 UTC (rev 17693) @@ -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; Modified: trunk/libgaim/protocols/oscar/oscar.h =================================================================== --- trunk/libgaim/protocols/oscar/oscar.h 2006-11-07 05:52:41 UTC (rev 17692) +++ trunk/libgaim/protocols/oscar/oscar.h 2006-11-07 07:04:41 UTC (rev 17693) @@ -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! */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |