Adium

Changeset 25562

Show
Ignore:
Timestamp:
11/11/2008 12:39:55 AM (2 months ago)
Author:
zacw
Message:

Always hide messages from blocked users. Just because the protocol allows it doesn't mean we should display something the user obviously doesn't want to see.

Files:

Legend:

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

    r25445 r25562  
    230230                AIChat                  *chat = [inObject chat]; 
    231231 
    232                 //Only proceed if the contact is not ignored 
    233                 if (![chat isListContactIgnored:[inObject source]]) { 
     232                //Only proceed if the contact is not ignored or blocked 
     233                if (![chat isListContactIgnored:[inObject source]] && ![[inObject source] isBlocked]) { 
    234234                        //Notify: Will Receive Content 
    235235                        if ([inObject trackContent]) {