From 7b239d5412b492c0aa656e75afc03651f2b38f2b Mon Sep 17 00:00:00 2001 From: kosyak Date: Wed, 28 Feb 2024 22:43:48 +0100 Subject: [PATCH] fix timeout --- .../eu/siacs/conversations/services/XmppConnectionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index fea58462d..f66e29a96 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -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;