From f59ead93eed6a7177a5b20bf23979f17354afdd0 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 27 Aug 2008 17:04:29 -0400 Subject: [PATCH] remove unimplemented methods from XmppDaemon darcs-hash:20080827210429-84dde-90c22dbee16f74f53464dcd538a6dbcf49db4f28.gz --- scripts/xmppdaemon.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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) { -- 2.39.5