Changeset 5319

Show
Ignore:
Timestamp:
02/28/08 04:31:51 (5 months ago)
Author:
morris
Message:

Ignore user joins coming before the user list

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/WCChat.h

    r4799 r5319  
    7878        BOOL                                                            _receivingPings; 
    7979        NSTimeInterval                                          _pingInterval; 
     80        BOOL                                                            _receivedUserList; 
    8081} 
    8182 
  • WiredClient/trunk/WCChat.m

    r4965 r5319  
    873873 
    874874        [[self connection] postNotificationName:WCChatUsersDidChange object:[self connection]]; 
     875         
     876        _receivedUserList = YES; 
    875877} 
    876878 
     
    880882        WCUser                  *user; 
    881883 
     884        if(!_receivedUserList) 
     885                return; 
     886         
    882887        user = [WCUser userWithArguments:[[notification userInfo] objectForKey:WCArgumentsKey]]; 
    883888