adium 2209:8376f14337ff: Missed two callsites.

commits at adium.im commits at adium.im
Sun May 17 00:43:52 UTC 2009


details:	http://hg.adium.im/adium/rev/8376f14337ff
revision:	2209:8376f14337ff
author:		Zachary West <zacw at adium.im>
date:		Sat May 16 20:37:07 2009 -0400

Missed two callsites.

diffstat:

 Source/AIListWindowController.m |  4 +++-
 Source/AISCLViewPlugin.m        |  3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fd4582cb91b7 -r 8376f14337ff Source/AIListWindowController.m
--- a/Source/AIListWindowController.m	Sat May 16 16:01:26 2009 -0700
+++ b/Source/AIListWindowController.m	Sat May 16 20:37:07 2009 -0400
@@ -1303,7 +1303,9 @@
 		AIContactList *from = (AIContactList *)[self contactList];
 		AIContactList *to = (AIContactList *)[attachToBottom contactList];
 		
-		[from moveAllGroupsTo:to];
+		for (AIListGroup *group in from) {
+			[adium.contactController moveGroup:group fromContactList:from toContactList:to];
+		}
 		
 		[[NSNotificationCenter defaultCenter] postNotificationName:DetachedContactListIsEmpty
 												  object:from
diff -r fd4582cb91b7 -r 8376f14337ff Source/AISCLViewPlugin.m
--- a/Source/AISCLViewPlugin.m	Sat May 16 16:01:26 2009 -0700
+++ b/Source/AISCLViewPlugin.m	Sat May 16 20:37:07 2009 -0400
@@ -586,7 +586,8 @@
 
 	for (NSString *groupUID in groups) {
 		AIListGroup		*group = [adium.contactController groupWithUID:groupUID];
-		[group.contactList moveGroup:group to:contactList];
+		
+		[adium.contactController moveGroup:group fromContactList:group.contactList toContactList:contactList];
 	}
 	
 	[self detachContactList:contactList];




More information about the commits mailing list