]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/jabber.php
add activity:subject to atom feeds
[quix0rs-gnu-social.git] / lib / jabber.php
index b6b23521bdf4e8a11088c94d4dfdc983e2849872..e1bf06ba661bfc8a8e29bdc30637c5f3d8b22032 100644 (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);