Don't attempt to resend XMPP messages that can't be broadcast due to the profile being deleted.
This commit is contained in:
parent
990b0f7995
commit
e5eca9bd2c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user