Adium

Ticket #8757: alias_handle_patch_3.diff

File alias_handle_patch_3.diff, 0.7 kB (added by jjay, 4 months ago)

New patch solving the issue : The placeholder is not used when no handle is specified

  • Plugins/Purple

    old new  
    101101        NSString                *invitemsg = [textField_inviteMessage stringValue]; 
    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         
    107112        if (![server length]) {