mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 22:12:05 +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:
parent
7ae75258be
commit
37231ec646
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ public class PrivateDataManager {
|
||||||
connection.sendPacket(privateDataGet);
|
connection.sendPacket(privateDataGet);
|
||||||
|
|
||||||
// Wait up to five seconds for a response from the server.
|
// 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
|
// Stop queuing results
|
||||||
collector.cancel();
|
collector.cancel();
|
||||||
if (response == null) {
|
if (response == null) {
|
||||||
|
|
Loading…
Reference in a new issue