Don't try and set a title if it's going to be nil. I have no idea why this is happening, probably something busted for the user. Fixes #12772.
1.1 --- a/Frameworks/Adium Framework/Source/AIContactMenu.m Fri Oct 16 11:06:48 2009 -0400
1.2 +++ b/Frameworks/Adium Framework/Source/AIContactMenu.m Fri Oct 16 11:14:37 2009 -0400
1.3 @@ -294,7 +294,9 @@
1.4 displayName = listObject.formattedUID;
1.5 }
1.6
1.7 - [menuItem setTitle:displayName];
1.8 + if (displayName)
1.9 + [menuItem setTitle:displayName];
1.10 +
1.11 [menuItem setToolTip:(shouldSetTooltip ? [listObject.statusMessage string] : nil)];
1.12
1.13 [[menuItem menu] setMenuChangedMessagesEnabled:YES];