Adium

Changeset 14823

Show
Ignore:
Timestamp:
01/08/2006 03:40:33 PM (3 years ago)
Author:
evands
Message:

Fixed determination of which contact to show when doing a Get Info; this prevents a situation in which a metacontact would be selected for getting info when the metacontact was actually effectively hidden because it had no contained list objects which were on any online contact list. Fixes #1055

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/AIContactAccountsPane.m

    r12969 r14823  
    207207                 
    208208        account =  [accounts objectAtIndex:row]; 
    209         if ([listObject isKindOfClass:[AIMetaContact class]]) { 
    210                 //If we're dealing with a metaContact, make sure it's the topmost one 
    211                 exactContact = [(AIMetaContact *)listObject parentContact]; 
    212  
    213         } else { 
    214                 //Retrieve an AIListContact on this account 
    215                 exactContact = [[adium contactController] existingContactWithService:[listObject service] 
    216                                                                                                                                          account:account 
    217                                                                                                                                                  UID:[listObject UID]]; 
    218         } 
    219                                  
     209 
     210        exactContact = [[adium contactController] existingContactWithService:[listObject service] 
     211                                                                                                                                 account:account 
     212                                                                                                                                         UID:[listObject UID]];                          
    220213        accountOnline = [account online]; 
    221214