adium 2157:4151014b7d97: Remove group contents serverside when r...

commits at adium.im commits at adium.im
Mon May 11 21:56:00 UTC 2009


details:	http://hg.adium.im/adium/rev/4151014b7d97
revision:	2157:4151014b7d97
author:		Zachary West <zacw at adium.im>
date:		Mon May 11 17:55:43 2009 -0400

Remove group contents serverside when removing the group, as a group delete in libpurple doesn't actually remove contents.

diffstat:

 Source/AIContactController.m |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cd50241d1704 -r 4151014b7d97 Source/AIContactController.m
--- a/Source/AIContactController.m	Mon May 11 17:13:50 2009 -0400
+++ b/Source/AIContactController.m	Mon May 11 17:55:43 2009 -0400
@@ -1411,7 +1411,7 @@
 	
 	//Remove all the contacts from this group
 	for (AIListContact *contact in group.containedObjects) {
-		[group removeObject:contact];
+		[contact removeFromGroup:group];
 	}
 	
 	//Delete the group from all active accounts




More information about the commits mailing list