Don't attempt to resend XMPP messages that can't be broadcast due to the profile being deleted.

This commit is contained in:
Brion Vibber 2010-01-28 22:51:07 -08:00
parent 990b0f7995
commit e5eca9bd2c
1 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ function jabber_broadcast_notice($notice)
common_log(LOG_WARNING, 'Refusing to broadcast notice with ' .
'unknown profile ' . common_log_objstring($notice),
__FILE__);
return false;
return true; // not recoverable; discard.
}
$msg = jabber_format_notice($profile, $notice);
@ -437,7 +437,7 @@ function jabber_public_notice($notice)
common_log(LOG_WARNING, 'Refusing to broadcast notice with ' .
'unknown profile ' . common_log_objstring($notice),
__FILE__);
return false;
return true; // not recoverable; discard.
}
$msg = jabber_format_notice($profile, $notice);