]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/jabberqueuehandler.php
Merge branch 'testing'
[quix0rs-gnu-social.git] / lib / jabberqueuehandler.php
index b1518866d7549416fcdc04c77c3bdf7512a83086..83471f2df7d1789a9fc5c766e73e6cf092b730f9 100644 (file)
@@ -34,14 +34,14 @@ class JabberQueueHandler extends QueueHandler
         return 'jabber';
     }
 
-    function handle_notice($notice)
+    function handle($notice)
     {
         require_once(INSTALLDIR.'/lib/jabber.php');
         try {
             return jabber_broadcast_notice($notice);
         } catch (XMPPHP_Exception $e) {
             $this->log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage());
-            exit(1);
+            return false;
         }
     }
 }