fix timeout

This commit is contained in:
kosyak 2024-02-28 22:43:48 +01:00
parent dd7a1c1bdb
commit 7b239d5412

View file

@ -5194,7 +5194,7 @@ public class XmppConnectionService extends Service {
public void fetchCommands(Account account, final Jid jid, OnIqPacketReceived callback) {
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) {
boolean rosterNeedsSync = false;