Changeset 3511
- Timestamp:
- 12/31/06 14:00:03 (2 years ago)
- Files:
-
- trunk/Models/JVBuddy.h (modified) (1 diff)
- trunk/Models/JVBuddy.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Models/JVBuddy.h
r3491 r3511 10 10 11 11 @class ABPerson; 12 13 extern NSString * const JVBuddyAddressBookIRCNicknameProperty;14 extern NSString* const JVBuddyAddressBookSpeechVoiceProperty;15 12 16 13 typedef enum { trunk/Models/JVBuddy.m
r3510 r3511 15 15 16 16 static JVBuddyName _mainPreferredName = JVBuddyFullName; 17 18 NSString* const JVBuddyAddressBookIRCNicknameProperty = @"IRCNickname";19 NSString* const JVBuddyAddressBookSpeechVoiceProperty = @"cc.javelin.colloquy.JVBuddy.TTSvoice";20 17 21 18 @implementation JVBuddy … … 631 628 while( ( user = [enumerator nextObject] ) ) 632 629 if( [[user connection] isEqual:connection] ) 633 [_users removeObject:user]; 634 635 if( [[[self activeUser] connection] isEqual:connection] ) 636 [self setActiveUser:[_users anyObject]]; 637 638 if( ! [_users count] ) 639 [[NSNotificationCenter defaultCenter] postNotificationName:JVBuddyWentOfflineNotification object:self userInfo:nil]; 630 [self _removeUser:user]; 640 631 } 641 632
