Adium

Changeset 65

Show
Ignore:
Timestamp:
12/20/2002 11:11:42 AM (6 years ago)
Author:
adamiser
Message:

Removed unnecessary access to the root contact group

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/adium/Plugins/AIM TOC2 Service/AIMTOC2Account.m

    r53 r65  
    883883    NSString            *value; 
    884884    AIContactGroup      *currentGroup = nil; 
    885     AIContactGroup      *contactList; 
    886885     
    887886    [[owner contactController] delayContactListUpdatesFor:10]; 
    888      
    889     //Get the root contact list group 
    890     contactList = [[owner contactController] contactList]; 
    891887     
    892888    //Create a scanner 
     
    909905                    //Create the group 
    910906                    if(!(currentGroup = [[owner contactController] groupWithName:value])){ 
    911                         currentGroup = [[owner contactController] createGroupNamed:value inGroup:contactList]; 
     907                        currentGroup = [[owner contactController] createGroupNamed:value inGroup:nil]; 
    912908                    } 
    913909                     
  • trunk/adium/Source/AIContactController.m

    r47 r65  
    160160    AIContactGroup      *newGroup; 
    161161 
     162    if(!inGroup) inGroup = [self contactList]; //If no group is specified, we create at the root level 
     163     
    162164    //create the new group 
    163165    newGroup = [AIContactGroup contactGroupWithName:inName];