From 37231ec6466d46492c6e1b4b9ff8077796212c09 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Mon, 15 Aug 2005 15:21:02 +0000 Subject: [PATCH] Removed hard-coded reply timeout. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2655 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/PrivateDataManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smackx/PrivateDataManager.java b/source/org/jivesoftware/smackx/PrivateDataManager.java index b487b513e..96bc6f781 100644 --- a/source/org/jivesoftware/smackx/PrivateDataManager.java +++ b/source/org/jivesoftware/smackx/PrivateDataManager.java @@ -187,7 +187,7 @@ public class PrivateDataManager { connection.sendPacket(privateDataGet); // Wait up to five seconds for a response from the server. - IQ response = (IQ)collector.nextResult(5000); + IQ response = (IQ)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); // Stop queuing results collector.cancel(); if (response == null) {