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;