Adium

Changeset 23990

Show
Ignore:
Timestamp:
06/15/2008 12:50:22 PM (6 months ago)
Author:
zacw
Message:

Fix the world's most oddly placed bang, fixing a longstanding issue where the wrong event would fire for a contact. Fixes #468. Fixes #5551.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/AIContactStatusEventsPlugin.m

    r23978 r23990  
    401401        if ((newStatus && !oldStatus) || 
    402402           (oldStatus && !newStatus) || 
    403            ((performCompare && newStatus && oldStatus && ![newStatus performSelector:@selector(compare:) withObject:oldStatus] == NSOrderedSame))) { 
     403           ((performCompare && newStatus && oldStatus && [newStatus performSelector:@selector(compare:) withObject:oldStatus] != NSOrderedSame))) { 
    404404                 
    405405                if (newStatus) {