adium 3346:178950021a32: When getting info on a contact don't sp...
commits at adium.im
commits at adium.im
Thu Sep 30 00:13:23 UTC 2010
details: http://hg.adium.im/adium/rev/178950021a32
revision: 3346:178950021a32
author: Frank Dowsett <wixardy at adium.im>
date: Wed Sep 29 20:12:30 2010 -0400
When getting info on a contact don't spin forever when there is no profile to display. Fixes #14320
diffs (12 lines):
diff -r f43956cbc9fa -r 178950021a32 Source/AIInfoInspectorPane.m
--- a/Source/AIInfoInspectorPane.m Tue Sep 28 23:41:31 2010 -0400
+++ b/Source/AIInfoInspectorPane.m Wed Sep 29 20:12:30 2010 -0400
@@ -409,7 +409,7 @@
// Don't do anything if we have nothing to display.
if ([profileArray count] == 0) {
AILogWithSignature(@"No profile array items found for %@", inObject);
- return nil;
+ return [NSAttributedString stringWithString:@""];
}
[self removeDuplicateEntriesFromProfileArray:profileArray];
More information about the commits
mailing list