We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit e5eca9bd authored by Brion Vibber's avatar Brion Vibber

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

parent 990b0f79
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment