X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fjabberqueuehandler.php;h=d6b4b7416a6cdb4320d02d17464e1c8a32cb6420;hb=9498a164805892a8af17311f7e7697b132524990;hp=b1518866d7549416fcdc04c77c3bdf7512a83086;hpb=436b8c845ea8fcc84f7f2bff71a7fa700d262a01;p=quix0rs-gnu-social.git diff --git a/lib/jabberqueuehandler.php b/lib/jabberqueuehandler.php index b1518866d7..d6b4b7416a 100644 --- a/lib/jabberqueuehandler.php +++ b/lib/jabberqueuehandler.php @@ -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); + common_log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage()); + return false; } } }