summaryrefslogtreecommitdiffstats
path: root/src/pedro/pedroxmpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pedro/pedroxmpp.cpp')
-rw-r--r--src/pedro/pedroxmpp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pedro/pedroxmpp.cpp b/src/pedro/pedroxmpp.cpp
index e64a568f0..4011df1ad 100644
--- a/src/pedro/pedroxmpp.cpp
+++ b/src/pedro/pedroxmpp.cpp
@@ -3893,7 +3893,7 @@ bool XmppClient::disconnect()
}
keepGoing = false;
connected = false;
- Thread::sleep(3000); //allow receiving thread to quit
+ Thread::sleep(2000); //allow receiving thread to quit
sock->disconnect();
roster.clear();
groupChatsClear();
@@ -3903,6 +3903,8 @@ bool XmppClient::disconnect()
return true;
}
+
+
//#######################
//# ROSTER
//#######################