adium-1.4 3040:16f39493eae4: Return the first visible object, no...
commits at adium.im
commits at adium.im
Mon Sep 20 00:58:49 UTC 2010
details: http://hg.adium.im/adium-1.4/rev/16f39493eae4
revision: 3040:16f39493eae4
author: Zachary West <zacw at adium.im>
date: Sun Sep 19 20:58:33 2010 -0400
Return the first visible object, not the first contained object, as the chat list object.
diffs (12 lines):
diff -r ff2202a84a35 -r 16f39493eae4 Frameworks/Adium Framework/Source/AIChat.m
--- a/Frameworks/Adium Framework/Source/AIChat.m Sun Sep 19 16:04:07 2010 -0500
+++ b/Frameworks/Adium Framework/Source/AIChat.m Sun Sep 19 20:58:33 2010 -0400
@@ -431,7 +431,7 @@
- (AIListContact *)listObject
{
if (self.countOfContainedObjects == 1 && !self.isGroupChat) {
- return [self.containedObjects objectAtIndex:0];
+ return [self visibleObjectAtIndex:0];
}
return nil;
More information about the commits
mailing list