summaryrefslogtreecommitdiff
path: root/lib/xmppqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmppqueuehandler.php')
-rw-r--r--lib/xmppqueuehandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmppqueuehandler.php b/lib/xmppqueuehandler.php
index 7d14422c6..9b1a6989e 100644
--- a/lib/xmppqueuehandler.php
+++ b/lib/xmppqueuehandler.php
@@ -63,7 +63,7 @@ class XmppQueueHandler extends QueueHandler
try {
if ($this->conn) {
$this->log(LOG_DEBUG, "Servicing the XMPP queue.");
- $this->conn->processTime(max($timeout, 1));
+ $this->conn->processTime($timeout);
$this->sendPing();
}
} catch (XMPPHP_Exception $e) {