Don't attempt to resend XMPP messages that can't be broadcast due to the profile being deleted.
This commit is contained in:
		@@ -358,7 +358,7 @@ function jabber_broadcast_notice($notice)
 | 
				
			|||||||
        common_log(LOG_WARNING, 'Refusing to broadcast notice with ' .
 | 
					        common_log(LOG_WARNING, 'Refusing to broadcast notice with ' .
 | 
				
			||||||
                   'unknown profile ' . common_log_objstring($notice),
 | 
					                   'unknown profile ' . common_log_objstring($notice),
 | 
				
			||||||
                   __FILE__);
 | 
					                   __FILE__);
 | 
				
			||||||
        return false;
 | 
					        return true; // not recoverable; discard.
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $msg   = jabber_format_notice($profile, $notice);
 | 
					    $msg   = jabber_format_notice($profile, $notice);
 | 
				
			||||||
@@ -437,7 +437,7 @@ function jabber_public_notice($notice)
 | 
				
			|||||||
            common_log(LOG_WARNING, 'Refusing to broadcast notice with ' .
 | 
					            common_log(LOG_WARNING, 'Refusing to broadcast notice with ' .
 | 
				
			||||||
                       'unknown profile ' . common_log_objstring($notice),
 | 
					                       'unknown profile ' . common_log_objstring($notice),
 | 
				
			||||||
                       __FILE__);
 | 
					                       __FILE__);
 | 
				
			||||||
            return false;
 | 
					            return true; // not recoverable; discard.
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $msg   = jabber_format_notice($profile, $notice);
 | 
					        $msg   = jabber_format_notice($profile, $notice);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user