1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-27 14:47:59 +01:00

Removed hard-coded reply timeout.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2655 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2005-08-15 15:21:02 +00:00 committed by matt
parent 7ae75258be
commit 37231ec646

View file

@ -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) {