Adium

Changeset 22175

Show
Ignore:
Timestamp:
01/07/2008 06:28:55 AM (11 months ago)
Author:
evands
Message:

Further patch from jjay to use the display name, falling back on the formattedUID, as the handle in Jabber group chats. Fixes #8757

Files:

Legend:

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

    r22141 r22175  
    102102        NSMutableDictionary     *chatCreationInfo; 
    103103                         
    104         if (![handle length]) handle = [inAccount formattedUID]; 
     104        if (![handle length]) { 
     105                if (![[[textField_handle cell] placeholderString] length]) 
     106                        handle = [inAccount formattedUID]; 
     107                else  
     108                        handle = [[textField_handle cell] placeholderString]; 
     109        } 
    105110        if (![password length]) password = nil; 
    106111