Adium

Changeset 24467

Show
Ignore:
Timestamp:
07/21/2008 02:45:50 AM (6 months ago)
Author:
evands
Message:

If there isn't already an account, create it when we're asked for icon data. This means we can access the libpurple cache as soon as desired, such as when displaying an icon for a contact whose chat was restored at startup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plugins/Purple Service/CBPurpleAccount.m

    r24446 r24467  
    502502        NSData                  *data = nil; 
    503503 
    504         if (account && 
     504        if ([self purpleAccount] && 
    505505                (buddy = purple_find_buddy(account, [[contact UID] UTF8String]))) { 
    506506                PurpleBuddyIcon *buddyIcon;