diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-28 22:51:07 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-28 22:51:07 -0800 |
commit | e5eca9bd2ce11633e14a840cb93adc6fd3ec8fc0 (patch) | |
tree | 04c04f80005db62d056ef567ed2e99ee91ccbd9b /lib | |
parent | 990b0f7995962cc99c573a3d33109c337b36ec10 (diff) |
Don't attempt to resend XMPP messages that can't be broadcast due to the profile being deleted.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jabber.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jabber.php b/lib/jabber.php index b6b23521b..e1bf06ba6 100644 --- a/lib/jabber.php +++ b/lib/jabber.php @@ -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); |