diff -r d84d25d6cdbb -r 64823cdde6a5 IChatUtils.m --- a/IChatUtils.m Sat Mar 08 21:04:41 2008 -0800 +++ b/IChatUtils.m Mon Apr 14 13:58:48 2008 -0700 @@ -36,19 +36,21 @@ if( chats.count==0 ) return nil; iChatTextChat *chat = [chats objectAtIndex: 0]; - if( ! chat.active ) - return nil; + /*if( ! chat.active ) // somehow this returns NO for Bonjour chats + return nil;*/ return chat; } + (NSString*) activeChatPartner { iChatTextChat *chat = [self activeChat]; + Log(@"Active chat = %@",chat); if( ! chat ) return nil; NSMutableArray *names = $marray(); for( iChatBuddy *b in [chat participants] ) [names addObject: (b.fullName ?: b.name)]; + Log(@"Particpants = %@",names); return [names componentsJoinedByString: @", "]; }