fix timeout
This commit is contained in:
parent
dd7a1c1bdb
commit
7b239d5412
|
@ -5194,7 +5194,7 @@ public class XmppConnectionService extends Service {
|
||||||
|
|
||||||
public void fetchCommands(Account account, final Jid jid, OnIqPacketReceived callback) {
|
public void fetchCommands(Account account, final Jid jid, OnIqPacketReceived callback) {
|
||||||
final IqPacket request = mIqGenerator.queryDiscoItems(jid, "http://jabber.org/protocol/commands");
|
final IqPacket request = mIqGenerator.queryDiscoItems(jid, "http://jabber.org/protocol/commands");
|
||||||
sendIqPacket(account, request, callback, 5000L);
|
sendIqPacket(account, request, callback, 5L);
|
||||||
}
|
}
|
||||||
private void injectServiceDiscoveryResult(Roster roster, String hash, String ver, String resource, ServiceDiscoveryResult disco) {
|
private void injectServiceDiscoveryResult(Roster roster, String hash, String ver, String resource, ServiceDiscoveryResult disco) {
|
||||||
boolean rosterNeedsSync = false;
|
boolean rosterNeedsSync = false;
|
||||||
|
|
Loading…
Reference in a new issue