Changeset 23379
- Timestamp:
- 05/09/2008 01:10:06 PM (7 months ago)
- Files:
-
- trunk/Source/AdiumPreferredAccounts.m (modified) (1 diff)
- trunk/Source/AIContactController.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/AdiumPreferredAccounts.m
r23333 r23379 147 147 } 148 148 149 AILogWithSignature(@"Could not find a good choice to talk to %@; will return first available account", inContact); 150 149 151 //If the previous attempts failed, or we weren't passed a contact, use the first appropriate account 150 152 return [self firstAccountAvailableForSendingContentType:inType trunk/Source/AIContactController.m
r23378 r23379 1667 1667 inContact = [inContact performSelector:@selector(preferredContact)]; 1668 1668 1669 // find the best account for talking to this contact,1669 //Find the best account for talking to this contact, 1670 1670 //and return an AIListContact on that account 1671 1671 account = [[adium accountController] preferredAccountForSendingContentType:inType … … 1687 1687 if (!returnContact) 1688 1688 AILogWithSignature(@"Warning: (null) returnContact for sending %@ to %@", inType, inContact); 1689 1690 return returnContact; 1689 /* XXX We can only get a nil returnContact if preferredAccountForSendingContentType:toContact: returns nil. 1690 * that probably shouldn't happen. 1691 */ 1692 return (returnContact ? returnContact : inContact); 1691 1693 } 1692 1694