From: Evan Prodromou Date: Wed, 27 Aug 2008 21:04:29 +0000 (-0400) Subject: remove unimplemented methods from XmppDaemon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f59ead93eed6a7177a5b20bf23979f17354afdd0;p=quix0rs-gnu-social.git remove unimplemented methods from XmppDaemon darcs-hash:20080827210429-84dde-90c22dbee16f74f53464dcd538a6dbcf49db4f28.gz --- diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index 2b21efa1e6..b013a34c9d 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -71,15 +71,10 @@ class XMPPDaemon { } function handle() { - $this->conn->addEventHandler('message', 'handle_message', $this); $this->conn->addEventHandler('presence', 'handle_presence', $this); - while(!$this->conn->isDisconnected()) { - $this->conn->processTime(5); - $this->broadcast_queue(); - $this->confirmation_queue(); - } + $this->conn->process(); } function get_user($from) {